Plot updated only after opening the PropertyEditor and mousebutton on object
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I want to use the plot command Nyquistplot, and customize the plot via the command line.
h=nyquistplot(rss(2))
h.Responses.Style.Markers={'o'}
h.Responses.Style.LineWidth=3
The modification is not displayed, though it is updated immediately after opening the PropertyEditor and clicking on the curve.
Does somebody know how to update it without the mouse-click?
Cheers Sjoerd
1 Comment
Sjoerd
on 28 Apr 2011
Answers (2)
Walter Roberson
on 27 Apr 2011
drawnow()
might work.
Matt Fig
on 27 Apr 2011
p = getoptions(h);
p.Responses.Style.Markers = 'o';
p.Responses.Style.LineWidth = 3;
setoptions(h,p);
Assuming those fields you are using are valid...
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!