[18535] in Athena Bugs
Re: sun4 8.4.13: matlab
daemon@ATHENA.MIT.EDU (Abby Fox)
Wed Nov 22 17:43:08 2000
Message-Id: <200011222243.RAA25076@n42-202-1.mit.edu>
To: klund@MIT.EDU
cc: bugs@MIT.EDU
Date: Wed, 22 Nov 2000 17:43:03 -0500
From: Abby Fox <ajfox@MIT.EDU>
>> What were you trying to do?
>
>Rescale a nyquist plot (from the control systems toolbox). The second
>command should rescale the plot, showing a close-up of the origin.
>
>nyquist(1,[1 1 1])
>axis([-.2 .2 -.2 .2])
>
>> What's wrong:
>
>The axis command has no effect.
According to the MathWorks, this is a bug which is fixed in the new
version (which we don't have yet, but may get installed over IAP):
http://www.mathworks.com/support/solutions/data/23564.shtml
In the meantime, this seems to work on your example:
>> nyquist(1,[1 1 1])
>> set(gcf,'currentaxes',get(gcr,'plotaxes'))
>> axis([-.2 .2 -.2 .2])
Abby Fox
Academic Computing