Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



renderer question
Posted:
Apr 10, 2013 2:09 PM


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



