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: renderer question
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Paul Mennen

Posts: 281
Registered: 12/7/04
renderer question
Posted: Apr 10, 2013 2:09 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a 2D plot (x vs. y) but I also have time values for these points that I'm putting into the 'zdata' property of the lines. I'm using sliders to select the time range that I want to enable on the display. The sliders merely set the axis 'zmin' and 'zmax' properties and the renderer does the job of only displaying the portion of the data that I want. There are other ways of implementing this, but this method is the easiest that I thought of.

My problem is that this seems to work only if I select the OpenGL renderer. I would prefer not to use that renderer since on some systems it gives inconsistent results. However the painter renderer seems to ignore the zmin/zmax properties all together for a 2D plot, and although the zbuffer renderer seems to have this capability it, when I select it in my program, it still seems to display the entire data set (i.e. ignoring the z limits).

Are there some axis or trace properties that I can adjust to make either the painter or zbuffer renderers pay attention to the zmin/zmax limits? If not, are there other simple ways of cracking this nut? (By the way, I'm using matlab 2011a in windows 7)

Thanks
~Paul



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.