[11213] in Athena Bugs
sun4 7.6N: matlab
daemon@ATHENA.MIT.EDU (lavin@MIT.EDU)
Thu Oct 14 17:34:28 1993
From: lavin@MIT.EDU
To: bugs@MIT.EDU
Date: Thu, 14 Oct 93 17:34:20 EDT
System name: woof
Type and version: SPARC/Classic 7.6N
Display type: cgthree
What were you trying to do?
Actually, this is a bug with the DECstation version of
MATLAB. (Yes, I know I'm sending it from a sun. :)
If you start up MATLAB:
add matlab; matlab
and type:
bode ([0 1],[.1 1])
you'll get a nice bode plot. (This is control theory stuff,
in case you care.) Anyway, to see a blowup of a particular
area of the plot, you use the subplot command:
subplot(211),axis([5 20 -10 0])
This produces a zoomed-in view of a region of the upper plot.
What's wrong:
In theory, anyway. On a Sun workstation it works just fine.
On the DECstations (monochrome and color) the zoomed-in plot
is messed up, with extra lines plotted and all. This is
totally repeateable by the above listed commands. (Apparently
there are a number of other similar cases that produce this, but
the user just explained this one to me.)
What should have happened:
It should have produced a clean blow up of the figure.
Please describe any relevant documentation references:
MATLAB manuals (help on subplot, axis, bode, etc.)