Editing of y-label in the step response

46 views (last 30 days)
I have a problem when I am doing step respone with this comand step(sys) then it will plot the graph first is lateral speed and the other is Yaw rate but give the label on y-axis as Output(1) and Output(2). I want to make change so, that it would give label as 'Lateral Speed' and 'Yaw rate' on the y-axis
  1 Comment
Robert
Robert on 26 Oct 2016
Please post some code on what your doing so we can try it and try and assist

Sign in to comment.

Accepted Answer

Chaya N
Chaya N on 26 Oct 2016
Edited: Chaya N on 26 Oct 2016
On the figure window, go to Edit --> Axes Properties. This will open up the property editor on the bottom of your figure window. Delete the existing Y labels here. Close the axis properties editor. Select the subplot whose axis labels you would like to edit and then do Insert --> Y Label. This will allow you to add Y axis labels to each of your subplots individually.
  1 Comment
thomas michiels
thomas michiels on 29 Nov 2018
I had the same problem, and I wondered how you can change these labels through the code instead of adapting them separately in the edit window. Do you have any idea of how to do this?

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!