Re: [Matplotlib-users] [discrete non-uniform intervals colorbar

2007-04-18 Thread Eric Firing
James Boyle wrote: > Eric, > Thanks for the quick reply. > I should have looked more closely at the examples for the contourf > solution. > As I indicated, my problem is a bit beyond contours. I have routines > that fill polygons ( finite element mesh) using a specified color map. > The ability t

[Matplotlib-users] Projections in 3d plot

2007-04-18 Thread José Alexandre Nalon
Greetings, I have a 3d plot and, in the 'walls' of the plot, I need to plot some 2d functions to represent the projections of the 3d function. Is there any way to do or emulate that? The functions are actually very simple, so a work around might do the job. Also, is there a way to change the plot

Re: [Matplotlib-users] [discrete non-uniform intervals colorbar

2007-04-18 Thread James Boyle
Eric, Thanks for the quick reply. I should have looked more closely at the examples for the contourf solution. As I indicated, my problem is a bit beyond contours. I have routines that fill polygons ( finite element mesh) using a specified color map. The ability to fill areas with the proper co

Re: [Matplotlib-users] WX dynamic plot slowly fills memory

2007-04-18 Thread ednspace
Christopher Barker wrote: > > ednspace wrote: >> I'm using WXpython and the OO api of matplotlib. > > Have you tried wxAgg? if nothing else, it should look better. It would > be interesting to see if it behaves differently as far as memory is > concerned. > > Also, be sure to post your vers

[Matplotlib-users] Omitting curves from a legend

2007-04-18 Thread Bill Baxter
On 4/18/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > There are a couple things about legend that I'm finding a little > > irksome. Is there some better way to do this? > > > > 1) if you have a contour, legend() wants to add all the contours to > > the list. calling contour(

Re: [Matplotlib-users] discrete non-uniform intervals colorbar

2007-04-18 Thread Eric Firing
James Boyle wrote: I wish to make a color filled plot with the colors defined for discrete, non-uniform intervals. Something like: 0.0 -0.001 0.001-0.05 0.05-0.2 0.2-0.4 0.4-0.8 0.8-1.0 red blue green magenta yellowcyan with th

Re: [Matplotlib-users] Omitting curves from a legend

2007-04-18 Thread Eric Firing
Bill Baxter wrote: > There are a couple things about legend that I'm finding a little > irksome. Is there some better way to do this? > > 1) if you have a contour, legend() wants to add all the contours to > the list. calling contour(...,label='_nolegend_') doesn't seem to > help. I think it wo