[Matplotlib-users] Plotting MODIS data in Python / basemap - a MODIS workflow solution?

2009-10-27 Thread John [H2O]
Hello, Recently I read a clear and helpful blog entry by Christian Perone (author of pyevolve): http://pyevolve.sourceforge.net/wordpress/?p=86 I asked him if he had a solution for plotting standard MODIS hdf products available here: http://rapidfire.sci.gsfc.nasa.gov/realtime/2009300/ In more

Re: [Matplotlib-users] Plotting MODIS data in Python / basemap - a MODIS workflow solution?

2009-10-27 Thread Vincent Schut
John [H2O] wrote: Hello, Recently I read a clear and helpful blog entry by Christian Perone (author of pyevolve): http://pyevolve.sourceforge.net/wordpress/?p=86 I asked him if he had a solution for plotting standard MODIS hdf products available here:

[Matplotlib-users] Plot a matrix in one command?

2009-10-27 Thread Piter_
Hi all. I have a matrix M: First column is X ans the rest are Ys. Lets say 100 of them (1000 sometimes). So far I can plot it like plot(M(:,1), M(:,2),M(:,1),M(:,3)... and so on and so on) Is there any possibility to do it in matlab way? Like: plot(M(:,1),M(:,2:end)) This is main thing stopping

Re: [Matplotlib-users] Plot a matrix in one command?

2009-10-27 Thread Scott Sinclair
2009/10/27 Piter_ x.pi...@gmail.com: I have a matrix M: First column is X ans the rest are Ys. Lets say  100 of them (1000 sometimes). So far I can plot it like plot(M(:,1), M(:,2),M(:,1),M(:,3)... and so on and so on) Is there any possibility to do it in matlab way? Like:

Re: [Matplotlib-users] Plotting MODIS data in Python / basemap - a MODIS workflow solution?

2009-10-27 Thread Jose Gomez-Dans
Hi, I asked him if he had a solution for plotting standard MODIS hdf products available here: http://rapidfire.sci.gsfc.nasa.gov/realtime/2009300/ In more general terms, what are people using for a 'MODIS workflow'? I can't imagine I'm the first to want to plot MODIS images using basemap.

[Matplotlib-users] Using matplotlib's prctile on masked arrays

2009-10-27 Thread Gökhan Sever
Hello, Consider this sample two columns of data: 99. 99. 99. 99. 99. 99. 99. 1693.9069 99. 1676.1059 99. 1621.5875 651.8040 1542.1373 691.0138 1650.4214 678.5558 1710.7311

Re: [Matplotlib-users] Plotting MODIS data in Python / basemap - a MODIS workflow solution?

2009-10-27 Thread John [H2O]
Jose Gómez-Dans-2 wrote: Really, it's what you want to do with your MODIS data. My workflow is usually as follows: 1.- Access MODIS data (and ancillary stuff, such as QA flags etc) using Python's GDAL bindings. 2.- Manipulate the MODIS data from (1) using numpy, scipy. If there's

Re: [Matplotlib-users] Plot a matrix in one command?

2009-10-27 Thread Gökhan Sever
2009/10/27 Piter_ x.pi...@gmail.com Hi all. I have a matrix M: First column is X ans the rest are Ys. Lets say 100 of them (1000 sometimes). So far I can plot it like plot(M(:,1), M(:,2),M(:,1),M(:,3)... and so on and so on) Is there any possibility to do it in matlab way? Like: You

Re: [Matplotlib-users] Movable Legend

2009-10-27 Thread Andrea Gavana
Hi Jae-Joon, 2009/10/26 Jae-Joon Lee: This is a known bug. While this is fixed in the svn, this did go into the maint. branch. As a workaround, add the following line after line 70.        self.legend.set_axes(self.subplot) Thank you for your help, it works perfectly. Andrea. Imagination

[Matplotlib-users] Cant load file as an array.

2009-10-27 Thread Piter_
Hi all. I have a problem with loading file of following format: first 1024 rows are tab delimited and contain from 2 to 256 elements (in different files different number of columns) after that 5 empty lines and at the end some 20 text lines for description. I could manage to do it in this way,

Re: [Matplotlib-users] Cant load file as an array.

2009-10-27 Thread Pierre GM
On Oct 27, 2009, at 2:37 PM, Piter_ wrote: Hi all. I have a problem with loading file of following format: first 1024 rows are tab delimited and contain from 2 to 256 elements (in different files different number of columns) after that 5 empty lines and at the end some 20 text lines for

[Matplotlib-users] 0.99.1.1 build attempts to import non-existing wx

2009-10-27 Thread Erin Sheldon
Hi All - I just downloaded 0.99.1.1 and I'm finding this error: [eshel...@bach00 matplotlib-0.99.1.1] python setup.py build BUILDING MATPLOTLIB matplotlib: 0.99.1.1 python: 2.6.2 (r262:71600,

[Matplotlib-users] strip charts using matplotlib

2009-10-27 Thread Dan Klinglesmith
Can someone give me examples of generating a strip chart type of display that will display 1800 data points and update once per second? cheers, Dan Daniel A. Klinglesmith III Magdalena Ridge Observatory New Mexico Tech (575) 835-6802

Re: [Matplotlib-users] Possible to get four y axes on a single plot?

2009-10-27 Thread Dr. Phillip M. Feldman
I've noticed that make_patch_spines_invisible does not use the input argument `ax`. Shouldn't the body of the function def be using `ax` instead of `par2`? Thanks! Phillip snip

Re: [Matplotlib-users] Possible to get four y axes on a single plot?

2009-10-27 Thread Dr. Phillip M. Feldman
Jae-Joon and Gokhan- Thanks very much to both of you for the help with this! I've been trying to create a template plotting program for the students in the Engineering Academy at Dos Pueblos High School. This program has to be able to create plots with 2, 3, or 4 y axes. The idea is that the

Re: [Matplotlib-users] Possible to get four y axes on a single plot?

2009-10-27 Thread Dr. Phillip M. Feldman
Here's my code (now nicely organized and documented, but still buggy): # multiple_yaxes_with_spines.py # This is a template Python program for creating plots (line graphs) with 2, 3, # or 4 y-axes. (A template program is one that you can readily modify to meet # your needs). Almost all

[Matplotlib-users] Multicolor line with dates

2009-10-27 Thread Tim Burgess
Hi all, I'm relatively new to matplotlib but have been generating some plots without too much trouble over the last couple of weeks. Now I'm getting trickier... I have a timeseries plot that plots a few values against an x-axis of dates. I *really* want to have my key line change color to

[Matplotlib-users] spines are tricky!

2009-10-27 Thread Dr. Phillip M. Feldman
Starting with code written by Jae-Joon Lee, I constructed a template program for creating plots with multiple y-axes. The program mostly works, but there are two odd glitches: (1) Not only is the y-axis for dependent variable #1 blue (as it should be), but the entire frame around the plot is

Re: [Matplotlib-users] Can't import pylab on Windows with C API

2009-10-27 Thread Nick Hilton
I have confirmed that this error does not occur with Matplotlib-0.99.0 and Python 2.6. It does occur when I remove 0.99.0 and install 0.99.1. --- On Mon, 10/26/09, Michael Droettboom md...@stsci.edu wrote: From: Michael Droettboom md...@stsci.edu Subject: Re: [Matplotlib-users] Can't import