Tick Labels INSIDE plot

47 次查看(过去 30 天)
rmc256
rmc256 2011-8-30
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.

回答(2 个)

Fangjun Jiang
Fangjun Jiang 2011-8-30
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 2011-8-30
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()

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by