semilogx() with reverse X Axis changes Y Labels position
Show older comments
So when i try to plot a semilogx(...) with reverse xaxis something strange happens to the y Labels and i dont know how to fix this.
for example:
figure
y = ones(1,10000);
semilogx(y)

and then when i try to change the XDir property this happens:
set(gca,'XDir','reverse')

All the y ticks are on top of the y axis and i dont find any property to move them to the correct place.
2 Comments
dpb
on 9 May 2019
Which release, OS? Doesn't happen here w/ R2017b on Win7
Alexander Höll
on 9 May 2019
Accepted Answer
More Answers (0)
Categories
Find more on Axis Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!