Can I use the Property Inspector to edit axis labels?

33 次查看(过去 30 天)
I am trying to edit the Y axis labels in a boxplot from a Kruskal Wallis test. Is this possible in the Property Inspector? I have tried altering the labels and tick marks in the Property Inspector window although the changes have not been applied to the figure.

回答(1 个)

Walter Roberson
Walter Roberson 2022-7-28
Yes. Click on the figure, then View -> Property Inspector
On the figire > Axes that comes up from there, in the TICKS section, you will see YTickLabel with something-by-1 cell listed as the property, on a line below YTick that lists the tick values. Click the three vertical dots to the right of that pair of boxes.
A box will pop up that lists y tick values on the left, and y tick labels on the right. You can click on one of the ones on the right and edit it (you might have to type in a complete new label, rather than being able to edit the existing label in place.)
  2 个评论
Emily Howes
Emily Howes 2022-7-28
Thank you for your help. I have now successfully edited the axis values in the Property Inspector, although my changes are not being transferred to the graph. Are there any additional steps required to apply the changes made in the Property Inspector to my figure?
Cortney
Cortney 2024-4-25
I see this sub is old but I am having the same issue. I can easily adjust the changes in Property Inspector but they are not applied to my figure. Did you ever find a solution to this issue?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by