Can I use the Property Inspector to edit axis labels?

53 views (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 28 Jul 2022
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 Comments
Emily Howes
Emily Howes on 28 Jul 2022
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 on 25 Apr 2024 at 23:03
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?

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!