How can I change the line width in a graph which is generated by rlocus command ?
Ältere Kommentare anzeigen
I write the following codes in command window :
sysd=tf([232 0],[451 3408.26 12 2]) ,(or any function)
rlocus(sysd)
the root locus is generated ,after that i need to change the line width of figure so i go to edit-----> figure properties----> then i select the line then select line width = 3 , nothing .
i use MATLAB(R2009a)
thanks
3 Kommentare
Azzi Abdelmalek
am 23 Feb. 2013
Which line have you selected?
Brenno
am 23 Apr. 2013
On a follow up to this question is there a way to change the default line thickness of the rlocus, bode, step, etc.. plots. They do not seam to be affected by the
set(0,'defaultlinelinewidth',2)
on a startup.m file
I think it's quite silly to be manually setting the thickness (graphically or by Azzi's command line on the command window) one plot at the time.
Luis Blas
am 11 Aug. 2015
You could use the following command: set(findall(gcf,'Type','line'),'LineWidth',2)
Antworten (2)
Azzi Abdelmalek
am 23 Feb. 2013
Without opening figure properties, select any point of your plot, then in windows command type:
set(gco,'LineWidth',4) % For example
2 Kommentare
Ahmed
am 23 Feb. 2013
Azzi Abdelmalek
am 23 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 23 Feb. 2013
It should work, Maybe you did not select the plot, click on the line plot, the coordinates will appear
Starting in R2026a, you can do this directly from the rlocusplot command.
rlocusplot(rss(3),LineWidth=5)
Kategorien
Mehr zu Classical Control Design finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
