Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: 3D waterfall plots outside of axes box
Replies: 1   Last Post: Jun 20, 1996 2:52 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Chi-chuan

Posts: 1
Registered: 12/7/04
Re: 3D waterfall plots outside of axes box
Posted: Jun 20, 1996 2:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Johan-

Thanks for your reply, we tried what you suggested, but there
still seems to be a bug in waterfall. The problem arises when
there is data that extends far below the minimum z-axis value,
like when plotting log data of an FFT result, and the z-axis
has been set to -100 (dB) for z-min and 0 for z-max.

We have found no way to keep MATLAB from drawing over
the bottom of the z-axes and outside of the 3-D box, except to
clip the data itself (which can produce incorrect graphical
results).

-Chi-Chuan


.> Johan Carlson <d93-jcn@sm.luth.se> writes:
.> Chi-Chuan Lin wrote:
.> >
.> > Hi:
.> >
.> > For a "Waterfall" plot with an arbitrary view angle, I don't
.> > want the data to be drawn outside an "axes box". But, all
.> > of the clipping methods I have tried--axis, caxis, etc.--don't
.> > keep the data contained completely. It seems that MATLAB
.> > clips to the min. and max. amplitude of the waterfall data,
.> > which means points are still outside of the 3-D box if its at
.> > an angle.
.> >
.> > I have tried clipping the data beforehand, but the graph
.> > is wrong (at the clipping boundaries) if the data points are
.> > far apart. Interpolation would fix this, but then the graph
.> > takes forever to draw.
.> >
.> > Does anyone have a reliable clipping method for angled
.> > 3D waterfall plots?
.> >
.> > Chi-Chuan
.> > Signalogic
.>
.>
.> You could try changing the limits on the axis.
.> set(gca, 'xlim', [x_min x_max]);
.> set(gca, 'ylim', ...
> set(gca, 'zlim', ...
.>
.> If I understood your problem right, this should do it.
.>
.> /Johan Carlson
.>
.>>>>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.