Re: [Matplotlib-users] Z channel
On Thu, Sep 16, 2010 at 11:06 AM, Daπid wrote: > No, it is not. The Z channel is an aditional number per pixel that > haves the information of the deepness. When you render an image you > can keep this information for adding mist, without rendering again, > for example. > > I don't know if I have been able to explain myself, my mind is not > really clear today. ;-) Sounds like you're talking about the equivalent to OpenGL's z-buffer. The only thing matplotlib has is zorder, which controls the drawing order of the artists. Matplotlib is not a true 3D plotting package in the sense of having all of the hardware bells and whistles, so there is no z-buffer. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Z channel
On Sep 16, 2010, at 12:06 PM, Daπid wrote: > No, it is not. The Z channel is an aditional number per pixel that > haves the information of the deepness. When you render an image you > can keep this information for adding mist, without rendering again, > for example. > > I don't know if I have been able to explain myself, my mind is not > really clear today. ;-) Hi David, I'm also having a difficult time understanding what you're after. Your description sounds to me like a normal image plot or pcolor plot; for example, http://matplotlib.sourceforge.net/examples/pylab_examples/image_interp.html http://matplotlib.sourceforge.net/examples/pylab_examples/pcolor_small.html If what you're suggesting is different, then maybe you can link to a picture/plot of what you're after. (Or if you can't find anything, maybe you could draw an example of the plot). Best, -Tony > > On Thu, Sep 16, 2010 at 5:12 PM, Benjamin Root wrote: >> On Thu, Sep 16, 2010 at 12:03 AM, Daπid wrote: >>> >>> Does MPL support in any way the Z channel? If not, is there any >>> possibility to use it? For example, to create a parallel matrix of the >>> same dimensions of the image with the values of Z in each pixel. >>> >>> Thank you very much. >>> >>> David. >>> >> >> David, I am not entirely certain I understand what you mean. Perhaps you >> are speaking of Z-order? Using the zorder kwarg in various plotting >> commands, I can manually control the order in which elements are rendered. >> When figures are saved, depending on the file format, this information can >> get "flattened", and therefore lost, and other formats (most of the >> vector-based formats) maintain this information, I believe. >> >> Does that help? >> Ben Root >> >> > > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Z channel
No, it is not. The Z channel is an aditional number per pixel that haves the information of the deepness. When you render an image you can keep this information for adding mist, without rendering again, for example. I don't know if I have been able to explain myself, my mind is not really clear today. ;-) On Thu, Sep 16, 2010 at 5:12 PM, Benjamin Root wrote: > On Thu, Sep 16, 2010 at 12:03 AM, Daπid wrote: >> >> Does MPL support in any way the Z channel? If not, is there any >> possibility to use it? For example, to create a parallel matrix of the >> same dimensions of the image with the values of Z in each pixel. >> >> Thank you very much. >> >> David. >> > > David, I am not entirely certain I understand what you mean. Perhaps you > are speaking of Z-order? Using the zorder kwarg in various plotting > commands, I can manually control the order in which elements are rendered. > When figures are saved, depending on the file format, this information can > get "flattened", and therefore lost, and other formats (most of the > vector-based formats) maintain this information, I believe. > > Does that help? > Ben Root > > -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Z channel
On Thu, Sep 16, 2010 at 12:03 AM, Daπid wrote: > Does MPL support in any way the Z channel? If not, is there any > possibility to use it? For example, to create a parallel matrix of the > same dimensions of the image with the values of Z in each pixel. > > Thank you very much. > > David. > > David, I am not entirely certain I understand what you mean. Perhaps you are speaking of Z-order? Using the zorder kwarg in various plotting commands, I can manually control the order in which elements are rendered. When figures are saved, depending on the file format, this information can get "flattened", and therefore lost, and other formats (most of the vector-based formats) maintain this information, I believe. Does that help? Ben Root -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Z channel
Does MPL support in any way the Z channel? If not, is there any possibility to use it? For example, to create a parallel matrix of the same dimensions of the image with the values of Z in each pixel. Thank you very much. David. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users