YTickLabels repeating themselves?
Mostra commenti meno recenti
Hello, everyone,
I came across this unusual...bug? feature? today as I was designing something in the App Designer.
This portion of the program simply takes three double values and plots them into the three axes shown below. The YLim and YTick/YTickLabel values have been set manually in the axes as [0,100] and [0,20,40,60,80,100] for the far left, [0,10^6] and [0,10^1,10^2,10^3,10^4,10^5,10^6] for the middle, and [0,1000] and [0,200,400,600,800,1000] for the far right. When I plot the values, however, not only do the YTickLabels change, they also bizarrely jump from the upper limit of the YLim range back to the lower limit of the YLim range, as can be seen in the far left and far right axes, where the value jumps from 100 up to zero or 1000 up to zero.
As you can see from the mouseover, the values each read correctly in the axes, and the heights of the bar graphs are proportional to where the values would be located if the YTickLabels were displaying correctly. I've read all the documentation I can and searched Answers for hours trying to find out why this might be happening. Any ideas?
Thanks,
Chris

1 Commento
Christopher Apfelbach
il 27 Ago 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Axis Labels in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!