Tick Labels INSIDE plot

54 views (last 30 days)
rmc256
rmc256 on 30 Aug 2011
Is there any way to place tick labels INSIDE a plot area? By default they appear on the outside, and I can't find a property that would change their location to anything except the default, to the left of the plot (for the y-axis). Reason is I have several plots directly next to each other.

Answers (2)

Fangjun Jiang
Fangjun Jiang on 30 Aug 2011
plotyy() might help if you have two plots, but if you have several plots, I am not sure. I am not aware any way you can change the position of tick labels.

Walter Roberson
Walter Roberson on 30 Aug 2011
Sorry, you will need to text() the labels in to position manually.
Possibly one of the MATLAB File Exchange contributions might already do what you need. When anything like this comes up, the first place I look is at plt()

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!