フィルターのクリア

How do you set the spacing between tickmarks?

3 ビュー (過去 30 日間)
Emily Smith
Emily Smith 2016 年 10 月 7 日
回答済み: Star Strider 2016 年 10 月 7 日
I would like to set the spacing between the tickmarks on a plot a numerical value. So that 1 unit on the plot = a set numerical value(preferably in centimeters), and will not be resized by MatLab. MatLab keeps resizing my figures and it is messing up the scale.
i tried using set(gca,'Ticklength',[0.01,0.01]) but i realized this is not for the spacing between the tickmarks.
Thank you!

回答 (1 件)

Star Strider
Star Strider 2016 年 10 月 7 日
See the 'Units' property of Axes Properties. Setting it to 'centimeters' might be what you want.
The current online documentation is for R2016b, but I remember this from earlier versions.

カテゴリ

Help Center および File ExchangeAxes Appearance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by