Re: [Matplotlib-users] Z channel

2010-09-16 Thread Benjamin Root
On Thu, Sep 16, 2010 at 12:03 AM, Daπid davidmen...@gmail.com 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.

Re: [Matplotlib-users] Z channel

2010-09-16 Thread Daπid
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

Re: [Matplotlib-users] Z channel

2010-09-16 Thread Tony S Yu
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

Re: [Matplotlib-users] Ternary Plotting using Matplotlib

2010-09-16 Thread Benjamin Root
On Wed, Sep 15, 2010 at 12:04 PM, Chloe Lewis chle...@berkeley.edu wrote: Lab Rat, Ben; Yes, you could use the ternary code I've put together to do the CAC plots in 2D; defining a complete triangular grid and triangular patches would be easy. If I'm reading the examples correctly, all the

Re: [Matplotlib-users] Z channel

2010-09-16 Thread Ryan May
On Thu, Sep 16, 2010 at 11:06 AM, Daπid davidmen...@gmail.com 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

[Matplotlib-users] Time Resolution and plotfile

2010-09-16 Thread teq
I'm sampling voltages and currents at a millisecond resolution and placing the data in files. Example: 2010-01-01 01:01:00.000,-6933.0 2010-01-01 01:01:00.001,-6933.0 2010-01-01 01:01:00.002,-6925.0 2010-01-01 01:01:00.003,-6914.0 2010-01-01 01:01:00.004,-6905.0 2010-01-01 01:01:00.005,-6933.0

[Matplotlib-users] Right-to-left longitude with Basemap

2010-09-16 Thread Mario Juric
Hi, I'm looking at Basemap as a backend for plotting maps of the sky in different projections, and so far it seems like a really good match! Excellent work! The only problem that I don't know how to solve is that in astronomy the longitude on maps typically increases from right to

Re: [Matplotlib-users] Time Resolution and plotfile

2010-09-16 Thread Benjamin Root
On Thu, Sep 16, 2010 at 1:27 PM, t...@ssl.berkeley.edu wrote: I'm sampling voltages and currents at a millisecond resolution and placing the data in files. Example: 2010-01-01 01:01:00.000,-6933.0 2010-01-01 01:01:00.001,-6933.0 2010-01-01 01:01:00.002,-6925.0 2010-01-01

[Matplotlib-users] How to add extra ticks to colorbar

2010-09-16 Thread Jeremy Conlin
I have a colorbar which has some ticks, but I would like to add my own ticks without replacing any of the existing ones. In addition, I would like to give the ticks a different labels like min and max. Can someone show how this might be done? Thanks, Jeremy

[Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Carlos Grohmann
Hello all, I'm new to py2exe but I managed to create a binary executable of my program. Now I'm experiencing on how to make the final size of the binary smaller. I already managed to cut about 15Mb by removing calls to pyQt (I use Wxpython) and also to scipy. One thing that is still bothering me

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread C M
On Thu, Sep 16, 2010 at 6:33 PM, Carlos Grohmann carlos.grohm...@gmail.com wrote: Hello all, I'm new to py2exe but I managed to create a binary executable of my program. Now I'm experiencing on how to make the final size of the binary smaller. I already managed to cut about 15Mb by removing

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Christopher Barker
Carlos Grohmann wrote: One thing that is still bothering me is the mpl_data directory that holds about 3.5 Mb of fonts. yup - that's a lot. Is it OK to remove the fonts I don't use? (I use only sans-serif) By Ok I mean not only from the practical poin tof view (that is, will the app run?)

Re: [Matplotlib-users] py2exe and matplotlib - Fonts: do I need them all?

2010-09-16 Thread Benjamin Root
On Thu, Sep 16, 2010 at 5:33 PM, Carlos Grohmann carlos.grohm...@gmail.comwrote: Hello all, Is it OK to remove the fonts I don't use? (I use only sans-serif) By Ok I mean not only from the practical poin tof view (that is, will the app run?) but also from the _legal_ point of view (am I