Please I have been trying to get a plot as given in the attached picture. I have a code already which i have been trying to modify to give the grapgh as shown below. Although my own plot is that I want to compare three control methodologies.

1. I want the three parameters which are the outputs to be plotted (Y1 Y2 Y3) in relation to each of the controllers to have the same line style. The attached plot has two controllers. One is dashed line and another is solid line. I want my own to have an additional linestyle. Hence each line style represents each controller

2. I want to have legend in terms of the three controllers

3. I want the text label on the plots after plotting with the three controllers be Z_r, N_r and T_l as given in the reference attached.

Below is the code I want to modify. Likewise, Marker and Color may not be neccessary since it will be easier to distinguish as i explained above.

I have explored Matlab community and i saw couples of codes that i can adapt. Howerver, I have not been able to do so. I wonder if the plot was even done with Matlab?

I would appreciate suggestions on how to do the plots. Thank you

More Kamal Abdulraheem's questions See All
Similar questions and discussions