[Matplotlib-users] Good morning!

2013-06-20 Thread Michael Rawlins
http://bananajoestampabay.com/wp-content/themes/toolbox/youtube.php?cftzwj892mmzinhs.htm rawlins02 Michael Rawlins *** A man of principles. None of

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
> > From: Benjamin Root >To: Michael Rawlins >Cc: Matplotlib Users >Sent: Thursday, September 27, 2012 2:29 PM >Subject: Re: [Matplotlib-users] error reading netcdf file > > >Michael, > >The .missing_value attribute is not us

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
- Original Message - > From: Michael Rawlins > To: Jeff Whitaker ; Benjamin Root > ; Matplotlib Users > Cc: > Sent: Wednesday, September 26, 2012 6:23 PM > Subject: Re: [Matplotlib-users] error reading netcdf file > > > >> ___

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Benjamin Root ; Michael Rawlins ; >Matplotlib Users >Sent: Wednesday, September 26, 2012 5:10 PM >Subject: Re: [Matplotlib-users] error reading netcdf file > > >Michael:  You can't change an attri

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
> > From: Benjamin Root >To: Michael Rawlins >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Wednesday, September 26, 2012 10:33 AM >Subject: Re: [Matplotlib-users] error reading netcdf file > > > > &

[Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
Recently built and installed netCDF4-1.0.  I'm running a script that has worked on two other linux OS systems. Error: File "test.py", line 96, in     data.missing_value=-9.99   File "netCDF4.pyx", line 2570, in netCDF4.Variable.__setattr__ (netCDF4.c:28242)   File "netCDF4.pyx", line 2392, in n

Re: [Matplotlib-users] netcdf4-python build

2012-09-21 Thread Michael Rawlins
> > From: Damon McDougall >To: Michael Rawlins >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Friday, September 21, 2012 2:50 PM >Subject: Re: [Matplotlib-users] netcdf4-python build > > > > >From wha

Re: [Matplotlib-users] netcdf4-python build

2012-09-21 Thread Michael Rawlins
After the build, I determined that 'install' was also needed. > python setup.py install completed with no errors.  OK, finally built and installed. But now my matplotlib script gives this error: Traceback (most recent call last):   File "map_PrcpBias_Northeast.py", line 21, in     from netCDF

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Michael Rawlins >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Wednesday, September 19, 2012 5:57 PM >Subject: Re: [Matplotlib-users] netcdf4-python build > > >On 9/19/12 3:29 PM

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
> > From: Jeff Whitaker >To: Michael Rawlins >Sent: Wednesday, September 19, 2012 4:57 PM >Subject: Re: [Matplotlib-users] netcdf4-python build > > >On 9/19/12 2:43 PM, Michael Rawlins wrote: > > >> >> >&g

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Johann Rohwer To: matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 19, 2012 3:22 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 19/09/2012 21:14, Michael Rawlins wrote: > Just installed h5utils from package mana

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Jeff Whitaker To: Michael Rawlins ; Matplotlib Users Sent: Wednesday, September 19, 2012 2:35 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 9/19/12 11:30 AM, Michael Rawlins wrote: > >Ubuntu 12.04 > > >hdf5-tools

[Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
Ubuntu 12.04 hdf5-tools installed from package manager netcdf-bin and python-netcdf installed from package manager I downloaded netCDF4-1.0fix1.tar.gz from http://code.google.com/p/netcdf4-python/downloads/list > python setup.py build /usr/bin/ld: cannot find -lhdf5_hl /usr/bin/ld: cannot

Re: [Matplotlib-users] error installing basemap

2012-09-18 Thread Michael Rawlins
es. -Jeff From: Michael Rawlins To: Jeff Whitaker ; "matplotlib-users@lists.sourceforge.net" Sent: Thursday, September 13, 2012 10:28 PM Subject: Re: [Matplotlib-users] error installing basemap Making some progress. Following here: http://code.google.com/p/netcdf4-python/wiki

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
variables. -Jeff From: Michael Rawlins To: Jeff Whitaker ; "matplotlib-users@lists.sourceforge.net" Sent: Thursday, September 13, 2012 10:28 PM Subject: Re: [Matplotlib-users] error installing basemap Making some progress. Following here: http://code.google.com/p/netcdf4-pytho

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker To: matplotlib-users@lists.sourceforge.net Cc: rawlin...@yahoo.com Sent: Thursday, September 13, 2012 9:44 PM Subject: Re: [Matplotlib-users] error installing basemap On 9/13/12 2:34 PM, Michael Rawlins wrote

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
the headers.  Mike From: Michael Rawlins To: Michael Droettboom ; "matplotlib-users@lists.sourceforge.net" Sent: Thursday, September 13, 2012 3:11 PM Subject: Re: [Matplotlib-users] error installing basemap ailing list Matplo

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Michael Droettboom To: matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 2:09 PM Subject: Re: [Matplotlib-users] error installing basemap You need to also install the python development package (python-dev), which contains th

[Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py install from the basemap directory. src/_proj.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: Command "gcc -pt

Re: [Matplotlib-users] plotting a colored symbol with plot command

2012-08-27 Thread Michael Rawlins
From: Warren Weckesser To: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, August 25, 2012 11:13 AM Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command On Sat, Aug 25, 2012 at 9:59 AM, Michael Rawl

Re: [Matplotlib-users] plotting a colored symbol with plot command

2012-08-25 Thread Michael Rawlins
From: Damon McDougall To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, August 25, 2012 4:21 AM Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command On Fri, Aug 24, 2012 at 02:39:12PM -070

Re: [Matplotlib-users] plotting a colored symbol with plot command

2012-08-24 Thread Michael Rawlins
From: Damon McDougall To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Friday, August 24, 2012 4:22 PM Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command On Fri, Aug 24, 2012 at 09:20:47PM +0

[Matplotlib-users] plotting a colored symbol with plot command

2012-08-24 Thread Michael Rawlins
Relatively new user here. I need to place a series of white colored dots on a map. I've been able to place black dots using: plt.plot(x,y,color='k',marker='.',markersize=3.0) The color option in this command does not plot the chosen color, only black. The command: plt.plot(x,y,'wo') places

Re: [Matplotlib-users] Taylor diagram (2nd take)

2012-03-27 Thread Michael Rawlins
self._ax.grid is in the code I have.  Jae-Joon: Yannick must have modified the code beyond the version to which you refer. Mike From: Jae-Joon Lee To: Yannick Copin Cc: Michael Rawlins ; matplotlib-users@lists.sourceforge.net Sent: Monday, March 26

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Tuesday, February 21, 2012 3:37 PM Subject: Re: [Matplotlib-users] show() does not pop up a window On Tue, Feb 21, 2012 at 2:28 PM, Michael Rawl

[Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Michael Rawlins
I've just installed numpy 1.6 and matplotlib 1.0.0 from source code on two linux machines, both running linux Ubuntu OS with python installed from Synaptic Package Manager. I've noticed no anomalies one machine. On the second machine, graphic window does not pop up. I'm run python non-interact

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, February 18, 2012 5:42 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 11:54 AM, Michael Raw

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Saturday, February 18, 2012 3:57 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 10:49 AM, Michael Raw

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 12:26 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 07:17 AM, Michael Rawlins wrote: > > A couple weeks

Re: [Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
From: Eric Firing To: matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 12:26 PM Subject: Re: [Matplotlib-users] installed python-scipy causing errors with numpy On 02/18/2012 07:17 AM, Michael Rawlins wrote: > > A couple weeks

[Matplotlib-users] installed python-scipy causing errors with numpy

2012-02-18 Thread Michael Rawlins
A couple weeks ago I installed version 1.2 from sources, as described here: http://matplotlib.sourceforge.net/users/installing.html I'm running Ubuntu 10.04 LTS.  Everything was working fine.  Looks like numpy version 1.3 in place. A few minutes ago I installed python-scipy from the Ubuntu Sy

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-19 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Thursday, January 19, 2012 10:07 AM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command On Thursday, January 19, 2012, Micha

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-19 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Thursday, January 19, 2012 10:07 AM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command On Thursday, January 19, 2012, Micha

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-19 Thread Michael Rawlins
From: Michael Rawlins To: Benjamin Root Cc: "matplotlib-users@lists.sourceforge.net" Sent: Wednesday, January 18, 2012 10:13 AM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-18 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Tuesday, January 17, 2012 2:02 PM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command On Tue, Jan 17, 2012 at 12:37 P

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-17 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Tuesday, January 17, 2012 2:02 PM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command On Tue, Jan 17, 2012 at 12:37 P

Re: [Matplotlib-users] placing colorbar when using subplot command

2012-01-17 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Tuesday, January 17, 2012 10:36 AM Subject: Re: [Matplotlib-users] placing colorbar when using subplot command On Tue, Jan 17, 2012 at 9:30 A

[Matplotlib-users] placing colorbar when using subplot command

2012-01-17 Thread Michael Rawlins
I'm relatively new to matplotlib. Trying to place a colorbar in a figure. The code below, placed in a file and executed with python, draws 4 maps using basemap. I've been unable to get a colorbar to show up anywhere on the figure. Ideally I would like the option of placing a colorbar across th

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Michael Rawlins
On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 4:00 PM, Michael Rawlins wrote: > >On 01/12/12 Ben Root wrote: > >On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins wrote: > > >>On 01/12/12 Ben Root wrote: >> >>Just a quick suggestion for cleanin

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Michael Rawlins
On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins wrote: >On 01/12/12 Ben Root wrote: > >Just a quick suggestion for cleaning up your code, please look into the argparse module to make command-line parsing so much easier to use. > >http://docs

Re: [Matplotlib-users] making multi panel figures

2012-01-12 Thread Michael Rawlins
On 01/12/12 Ben Root wrote: Just a quick suggestion for cleaning up your code, please look into the argparse module to make command-line parsing so much easier to use. http://docs.python.org/dev/library/argparse.html Ben Root Command line parsing?  I'm new to python and matplotlib and was

[Matplotlib-users] making multi panel figures

2012-01-12 Thread Michael Rawlins
I have about 140 lines of code that makes a map. I'd like to turn it into a program which makes a multiple panel (map) figure. I understand that subplot will help to do this. Ideally I would like the 140 lines to be like a subroutine called in a loop. In the current code there are two variable

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-20 Thread Michael Rawlins
These commands plot points on a map in my code using python, matplotlib, and basemap.  Thanks to Ian and Glenn for their assistance.  Turns out lat, lon needed to be transformed into Lambert's coordinate space upon which the rest of the map is based. If anyone knows of a more elegant way to wor

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
ted in the plot command and paste them into the source code.  Not ideal but will get the job done. Mike --- On Tue, 4/19/11, G Jones wrote: From: G Jones Subject: Re: [Matplotlib-users] plotting points/locations from data file To: "Michael Rawlins" Cc: "Ian Bell" , Matplotl

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
On second thought, the code requires basemap package too. Mike  --- On Tue, 4/19/11, Michael Rawlins wrote: From: Michael Rawlins Subject: Re: [Matplotlib-users] plotting points/locations from data file To: "G Jones" Cc: Matplotlib-users@lists.sourceforge.net Date: Tuesday, Apri

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
,43.0) text(xpt,ypt,'*') # draw coastlines and political boundaries. m.drawcoastlines() m.drawcountries() m.drawstates() # draw parallels and meridians. # label on left, right and bottom of map. m.drawparallels(parallels,labels=[1,0,0,0]) m.drawmeridians(meridians,labels=[1,1,0,1])    

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
: [Matplotlib-users] plotting points/locations from data file To: "G Jones" Cc: "Michael Rawlins" , Matplotlib-users@lists.sourceforge.net Date: Tuesday, April 19, 2011, 7:35 PM Have to say I whole-heartedly agree with Glenn.  One problem I have run into is a funky file headers

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
t,'*') I will strip the code down to bare minimum (take out reading of netCDF data file) and paste it here along with ten example lats,lons. --- On Tue, 4/19/11, Ian Bell wrote: From: Ian Bell Subject: Re: [Matplotlib-users] plotting points/locations from data file To: "Michael

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
plotting points/locations from data file To: "Michael Rawlins" Cc: Matplotlib-users@lists.sourceforge.net Date: Tuesday, April 19, 2011, 7:22 PM If you want to plot a given marker at the point, for instance a circle, replace the last line of my code plt.text.. with plt.plot(lats,lon

Re: [Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
ue, 4/19/11, Ian Bell wrote: From: Ian Bell Subject: Re: [Matplotlib-users] plotting points/locations from data file To: "Michael Rawlins" Cc: Matplotlib-users@lists.sourceforge.net Date: Tuesday, April 19, 2011, 6:52 PM To clarify, you are trying to read in a set of (lat,lon) points in a

[Matplotlib-users] plotting points/locations from data file

2011-04-19 Thread Michael Rawlins
I'm trying to plot a series of points/locations on a map. I'm reading the latitudes and longitudes from a file, with each lat, lon pair on each record (line). Here is the code: def make_float(line): lati, longi = line.split() return float(lati), float(longi) my_dict = {} with open("fi

[Matplotlib-users] m.pcolor: shade a grid based on value

2011-02-09 Thread Michael Rawlins
I'm trying to shade grids below a certain threshold a certain color. Using m.pcolor. Also would like to know more about how the routine I've been given, and am using using, (below) works. I'm fairly new to matplotlib so thanks for the help. Looks like array is filled in these lines: thevar='m

Re: [Matplotlib-users] defining a custom RGB colormap

2011-01-06 Thread Michael Rawlins
/5/11, Paul Ivanov wrote: > From: Paul Ivanov > Subject: Re: [Matplotlib-users] defining a custom RGB colormap > To: matplotlib-users@lists.sourceforge.net > Date: Wednesday, January 5, 2011, 7:15 PM > Michael Rawlins, on 2011-01-05 > 14:42,  wrote: > > Thanks for the d

Re: [Matplotlib-users] defining a custom RGB colormap

2011-01-05 Thread Michael Rawlins
Paul, Thanks for the detailed tutorial. I'm getting errors when I attempt to use plt.subplots(1,1) and the newcm assignment. Traceback (most recent call last): File "colorbar_Mytest2.py", line 17, in f, ax = plt.subplots(1,1) AttributeError: 'module' object has no attribute 'subplots'

[Matplotlib-users] defining a custom RGB colormap

2011-01-05 Thread Michael Rawlins
How does one define a range of colors for a custom user-defined colormap? I'm fairly new to matplotlib and have been using standard colormaps. Below is a sample program that makes a color bar based on the hot colormap. I'd like to have a colormap like hot, but that starts at, say, orange (ne