MATLAB Answers

0

Is there a way to pass line properities to the BODE command in the Control System Toolbox?

I would like to set the linewidth of the resultant plots generated by BODE using the following syntax:
bode(g,'linewidth',10)

2 Answers

Answer by MathWorks Support Team on 27 Jun 2009
 Accepted Answer

The ability to change the line parameters (other than line and marker style) from the BODE command is not available in the Control System Toolbox.
As a workaround, you can use the following syntax to change the line width (or any other line property):
set(findall(gcf,'type','line'),'linewidth',10)

  2 Comments

Yeah that is working, i think only way to change line width . Thanks

Sign in to comment.


Answer by Alexander Kosenkov on 21 Oct 2014

What about returned handle?
h = bodeplot( ... )
h.Responses(i).Style.LineWidth = 2; % doesn't change the line
h.updatestyle % reset styles instead of updating the plot
Can this approach be used for changing the line?

  0 Comments

Sign in to comment.