Re: [Matplotlib-users] 2D array plot picking explicit values to colour and legend

2012-04-09 Thread Eric Firing
On 04/09/2012 08:17 AM, Mathew Topper wrote: > Hi Eric, thanks for the tip about the legend. > > Regarding the data, assuming i am using pcolor, am I right in thinking > that using Boundarynorm would be the best way to control the colors for > each code? Mat, I think BoundaryNorm is overkill and/

Re: [Matplotlib-users] 2D array plot picking explicit values to colour and legend

2012-04-09 Thread Mathew Topper
Hi Eric, thanks for the tip about the legend. Regarding the data, assuming i am using pcolor, am I right in thinking that using Boundarynorm would be the best way to control the colors for each code? Thanks Mat On 04/09/2012 06:26 PM, Eric Firing wrote: On 04/09/2012 02:22 AM, Mathew Toppe

Re: [Matplotlib-users] 2D array plot picking explicit values to colour and legend

2012-04-09 Thread Eric Firing
On 04/09/2012 02:22 AM, Mathew Topper wrote: > Dear matplotlib-users, > > I have a spatial data set that has coded values for each cell, which are > limited to just a few numbers, ie -, 0, 100, and . I would like > to display this data with a plot similar to pcolor, but I don't want a > col

Re: [Matplotlib-users] corrupt pdf of histogram

2012-04-09 Thread Jouni K . Seppänen
Benjamin Root writes: >> sanders writes: >> >> > If keywords fill=False and log=True, >> > >> > then after saving, the png looks fine but the histogram in the pdf is >> > mixed up. >> >> Confirmed, thanks for the report. I filed this at >> https://github.com/matplotlib/matplotlib/issues/804 > >

[Matplotlib-users] 2D array plot picking explicit values to colour and legend

2012-04-09 Thread Mathew Topper
Dear matplotlib-users, I have a spatial data set that has coded values for each cell, which are limited to just a few numbers, ie -, 0, 100, and . I would like to display this data with a plot similar to pcolor, but I don't want a colorbar, I want a legend showing the colors for each co