[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

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
- Original Message - From: Michael Rawlins rawlin...@yahoo.com To: Jeff Whitaker jeffrey.s.whita...@noaa.gov; Benjamin Root ben.r...@ou.edu; Matplotlib Users matplotlib-users@lists.sourceforge.net Cc: Sent: Wednesday, September 26, 2012 6:23 PM Subject: Re: [Matplotlib-users

Re: [Matplotlib-users] error reading netcdf file

2012-09-27 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Thursday, September 27, 2012 2:29 PM Subject: Re: [Matplotlib-users] error reading netcdf file Michael

[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 module     data.missing_value=-9.99   File netCDF4.pyx, line 2570, in netCDF4.Variable.__setattr__ (netCDF4.c:28242)   File netCDF4.pyx, line 2392, in

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 26, 2012 10:33 AM Subject: Re: [Matplotlib-users] error reading netcdf

Re: [Matplotlib-users] error reading netcdf file

2012-09-26 Thread Michael Rawlins
From: Jeff Whitaker jeffrey.s.whita...@noaa.gov To: Benjamin Root ben.r...@ou.edu; Michael Rawlins rawl...@geo.umass.edu; Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 26, 2012 5:10 PM Subject: Re: [Matplotlib-users] error

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 module     from

Re: [Matplotlib-users] netcdf4-python build

2012-09-21 Thread Michael Rawlins
From: Damon McDougall damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Friday, September 21, 2012 2:50 PM Subject: Re: [Matplotlib-users] netcdf4

[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] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Jeff Whitaker jeffrey.s.whita...@noaa.gov To: Michael Rawlins rawlin...@yahoo.com; Matplotlib Users matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 19, 2012 2:35 PM Subject: Re: [Matplotlib-users] netcdf4-python build On 9/19/12 11

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Johann Rohwer j...@sun.ac.za 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

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Jeff Whitaker jeffrey.s.whita...@noaa.gov To: Michael Rawlins rawlin...@yahoo.com 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

Re: [Matplotlib-users] netcdf4-python build

2012-09-19 Thread Michael Rawlins
From: Jeff Whitaker jeffrey.s.whita...@noaa.gov To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Wednesday, September 19, 2012 5:57 PM Subject: Re: [Matplotlib-users] netcdf4

Re: [Matplotlib-users] error installing basemap

2012-09-18 Thread Michael Rawlins
variables. -Jeff From: Michael Rawlins rawlin...@yahoo.com To: Jeff Whitaker jsw...@fastmail.fm; matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 10:28 PM Subject: Re: [Matplotlib-users] error installing basemap Making some

[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

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
), which contains the headers.  Mike From: Michael Rawlins rawlin...@yahoo.com To: Michael Droettboom md...@stsci.edu; matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 3:11 PM Subject: Re

Re: [Matplotlib-users] error installing basemap

2012-09-13 Thread Michael Rawlins
From: Jeff Whitaker jsw...@fastmail.fm 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
to the data variables. -Jeff From: Michael Rawlins rawlin...@yahoo.com To: Jeff Whitaker jsw...@fastmail.fm; matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Thursday, September 13, 2012 10:28 PM Subject: Re: [Matplotlib-users] error installing basemap Making some

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

2012-08-27 Thread Michael Rawlins
On Sat, Aug 25, 2012 at 9:59 AM, Michael Rawlins rawlin...@yahoo.com wrote: From: Damon McDougall damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent

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

2012-08-25 Thread Michael Rawlins
From: Damon McDougall damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Saturday, August 25, 2012 4:21 AM Subject: Re: [Matplotlib-users] plotting

[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] plotting a colored symbol with plot command

2012-08-24 Thread Michael Rawlins
From: Damon McDougall damon.mcdoug...@gmail.com To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Friday, August 24, 2012 4:22 PM Subject: Re: [Matplotlib-users] plotting

[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

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

2012-02-21 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Tuesday, February 21, 2012 3:37 PM Subject: Re: [Matplotlib-users] show() does not pop up

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

2012-02-18 Thread Michael Rawlins
From: Eric Firing efir...@hawaii.edu 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

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

2012-02-18 Thread Michael Rawlins
From: Eric Firing efir...@hawaii.edu 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

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

2012-02-18 Thread Michael Rawlins
From: Eric Firing efir...@hawaii.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 3:57 PM Subject: Re: [Matplotlib-users] installed python-scipy

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

2012-02-18 Thread Michael Rawlins
From: Eric Firing efir...@hawaii.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Saturday, February 18, 2012 5:42 PM Subject: Re: [Matplotlib-users] installed python-scipy

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

2012-01-19 Thread Michael Rawlins
From: Michael Rawlins rawlin...@yahoo.com To: Benjamin Root ben.r...@ou.edu Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Wednesday, January 18, 2012 10:13 AM Subject: Re: [Matplotlib-users] placing colorbar when

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

2012-01-19 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Thursday, January 19, 2012 10:07 AM Subject: Re: [Matplotlib-users] placing colorbar when

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

2012-01-19 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Thursday, January 19, 2012 10:07 AM Subject: Re: [Matplotlib-users] placing colorbar when

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

2012-01-18 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Tuesday, January 17, 2012 2:02 PM Subject: Re: [Matplotlib-users] placing colorbar when using

[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

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

2012-01-17 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Tuesday, January 17, 2012 10:36 AM Subject: Re: [Matplotlib-users] placing colorbar when

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

2012-01-17 Thread Michael Rawlins
From: Benjamin Root ben.r...@ou.edu To: Michael Rawlins rawlin...@yahoo.com Cc: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net Sent: Tuesday, January 17, 2012 2:02 PM Subject: Re: [Matplotlib-users] placing colorbar when using

[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

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

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 rawlin...@yahoo.com 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

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 rawlin...@yahoo.com wrote: On 01/12/12 Ben Root wrote: On Thu, Jan 12, 2012 at 2:20 PM, Michael Rawlins rawlin...@yahoo.com wrote: On 01/12/12 Ben Root wrote: Just a quick suggestion for cleaning up your code

[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

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

2011-04-19 Thread Michael Rawlins
: From: Ian Bell ib...@purdue.edu Subject: Re: [Matplotlib-users] plotting points/locations from data file To: Michael Rawlins rawlin...@yahoo.com 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

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

2011-04-19 Thread Michael Rawlins
] plotting points/locations from data file To: Michael Rawlins rawlin...@yahoo.com 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

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

2011-04-19 Thread Michael Rawlins
...@purdue.edu Subject: Re: [Matplotlib-users] plotting points/locations from data file To: G Jones glenn.calt...@gmail.com Cc: Michael Rawlins rawlin...@yahoo.com, Matplotlib-users@lists.sourceforge.net Date: Tuesday, April 19, 2011, 7:35 PM Have to say I whole-heartedly agree with Glenn.  One

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

2011-04-19 Thread Michael Rawlins
to mass produce --- On Tue, 4/19/11, G Jones glenn.calt...@gmail.com wrote: From: G Jones glenn.calt...@gmail.com Subject: Re: [Matplotlib-users] plotting points/locations from data file To: Michael Rawlins rawlin...@yahoo.com Cc: Ian Bell ib...@purdue.edu, Matplotlib-users

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 rawlin...@yahoo.com wrote: From: Michael Rawlins rawlin...@yahoo.com Subject: Re: [Matplotlib-users] plotting points/locations from data file To: G Jones glenn.calt...@gmail.com Cc: Matplotlib

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

2011-04-19 Thread Michael Rawlins
command and paste them into the source code.  Not ideal but will get the job done. Mike --- On Tue, 4/19/11, G Jones glenn.calt...@gmail.com wrote: From: G Jones glenn.calt...@gmail.com Subject: Re: [Matplotlib-users] plotting points/locations from data file To: Michael Rawlins rawlin

[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:

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

2011-01-06 Thread Michael Rawlins
, Paul Ivanov pivanov...@gmail.com wrote: From: Paul Ivanov pivanov...@gmail.com 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

[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

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 module f, ax = plt.subplots(1,1) AttributeError: 'module' object has no attribute