Editing of y-label in the step response

39 Ansichten (letzte 30 Tage)
Anas Rao
Anas Rao am 26 Okt. 2016
Kommentiert: thomas michiels am 29 Nov. 2018
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 Kommentar
Robert
Robert am 26 Okt. 2016
Please post some code on what your doing so we can try it and try and assist

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Chaya N
Chaya N am 26 Okt. 2016
Bearbeitet: Chaya N am 26 Okt. 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 Kommentar
thomas michiels
thomas michiels am 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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by