problems to add yticklabel in log-log figure
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear all,
I have some issue to illustrate a ytick label in a figure. Here is the piece of code related to this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/204822/image.png)
The ytick label 10^{0} does not appear in this case! Any ideas?
Cheers
2 Kommentare
Antworten (1)
Shuqiao Xie
am 19 Feb. 2019
set(gca,'XScale','log', 'YScale','log', 'XTick', [0 0.5 1 2 6 12 24],'XTickLabel', ...
{'0','0.5','1','2','6','12','24'},'YMinorTick','on','YScale','log','YTick',...
[1 10 100 1000],'YTickLabel',{'10^{0}','10^{1}','10^{2}','10^{3}'})
0 Kommentare
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!