How an I manipulate top and bottom x axes individually?
Show older comments
I want to control the x axis top and bottom individually / separately.
Specifically I want to point the bottom x axis ticks out and the top x axis ticks in ( and point left y axis out and right y axis in).
2 Comments
Rod Letchford
on 30 Aug 2020
dpb
on 30 Aug 2020
The 'TickDirection' property is global for the X- and Y- axis objects; there's insufficient granularity of properties to modify one but not the other.
You could make two axes, and set one 'in' and one 'out', but then both would show anyway...
Don't see any way to do this other than to physically draw ticks where wanted if it's that important to go to the trouble.
Accepted Answer
More Answers (1)
Rod Letchford
on 31 Aug 2020
Categories
Find more on Axes Appearance 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!