[Matplotlib-users] Reading GRC file in matplotlib

2013-02-27 Thread marcelo
Hello, Does matplotlib recognize the file generated by a file sink in GNU Radio? I guess its format is '.dat'. I want to read the information in this file and create some graphics. Thanks! M -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Reading-GRC-file-in-matplotli

Re: [Matplotlib-users] Multiple XY plots

2013-02-27 Thread lkz2366
Ok, I finally got it working after a couple of hours of experimenting. I couldn't figure out how to get your methods to work, maybe because I'm such a novice at Python. But, it was as easy as using a simple 'for' loop. num = the number of lists to plot time = a list of lists volts = a list of

Re: [Matplotlib-users] cross correlation

2013-02-27 Thread Paul Hobson
On Wed, Feb 27, 2013 at 1:01 AM, Sudheer Joseph wrote: > Dear Pierre, > I was checking the plt.xcorr and it calls the > np.correlate in side it. It calls np.correlate(ts1,ts2, mode=2). > Is there a way to see which vector is sided back in time? ie > ts1[t1,t2,t3,t4] ts2

Re: [Matplotlib-users] basemap: polar stereographic projection and clabel

2013-02-27 Thread Jeff Whitaker - NOAA Federal
Marcello Vichi February 27, 2013 1:40 PMThanks Jeff this is what I have In [1]: import matplotlib In [2]: matplotlib.__version__ Out[2]: '1.2.0' Marcello:  As a workaround you could mask the data outside the bounding lat of the projection before you draw the contour lines.  S

Re: [Matplotlib-users] basemap: polar stereographic projection and clabel

2013-02-27 Thread Jeff Whitaker - NOAA Federal
Marcello Vichi February 27, 2013 1:40 PMThanks Jeff this is what I have In [1]: import matplotlib In [2]: matplotlib.__version__ Out[2]: '1.2.0' Marcello:  I asked what version of basemap you had, not matplotlib.   Anyway, thanks for providing the script - with it I can repro

Re: [Matplotlib-users] basemap: polar stereographic projection and clabel

2013-02-27 Thread Marcello Vichi
Thanks Jeff this is what I have In [1]: import matplotlib In [2]: matplotlib.__version__ Out[2]: '1.2.0' I also tried with a different dataset, the one from http://matplotlib.org/basemap/users/examples.html and I get the same problem from mpl_toolkits.basemap import Basemap from netCDF4 import

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-27 Thread Thomas Sprinzing
I'd say it's got nearly nothing to do with matplotlib. The question is: will the font be included in the .ps and in the .pdf? If not, which is most likely, it's upon the renderer to decide what to do if the requested glyph in the requested font is present or not in the system. pdf is more likel

Re: [Matplotlib-users] Missing "Edit Curves..." button in NavigationToolbar2Wx

2013-02-27 Thread Michael Droettboom
That feature is specific to the Qt4 backend. Mike On 02/27/2013 02:23 PM, Jonno wrote: Can anyone explain to me why I don't see the "Edit Curves Line and Axes Parameters" button in the matplotlib toolbar when using matplotlib.backends.backend_wxagg.NavigationToolbar2Wx The example code here

[Matplotlib-users] Missing "Edit Curves..." button in NavigationToolbar2Wx

2013-02-27 Thread Jonno
Can anyone explain to me why I don't see the "Edit Curves Line and Axes Parameters" button in the matplotlib toolbar when using matplotlib.backends.backend_wxagg.NavigationToolbar2Wx The example code here creates a Matplotlib plot with the matplotlib toolbar including all buttons except for the on

Re: [Matplotlib-users] basemap: polar stereographic projection and clabel

2013-02-27 Thread Jeff Whitaker
Marcello Vichi February 19, 2013 7:33 AMWhen I plot contours in a stereographic south pole plot with a bounding latitude and the rounded clipping Basemap(projection='spaeqd',lat_0=-90,lon_0=180,resolution='l',boundinglat=-40,round=True) I see that the contours are correctly c

Re: [Matplotlib-users] changing the shade of a color depending on a value

2013-02-27 Thread Paul Hobson
On Wed, Feb 27, 2013 at 1:49 AM, Rita wrote: > Hi, > > I am currently plotting cpu utilization over time (plot_time). I would > like the color of my line to be red when at 100%. 80-90% a bit less red, > more yellow, and lower numbers will be green. Any thoughts of doing this? > A few years ago,

Re: [Matplotlib-users] changing the shade of a color depending on a value

2013-02-27 Thread Jakob Gager
Hi have a look at http://matplotlib.org/examples/pylab_examples/multicolored_line.html and http://matplotlib.org/examples/pylab_examples/show_colormaps.html. br Jakob On 02/27/2013 10:49 AM, Rita wrote: > Hi, > > I am currently plotting cpu utilization over time (plot_time). I would like > the

Re: [Matplotlib-users] changing the shade of a color depending on a value

2013-02-27 Thread Phil Elson
Joe Kington's answer is the best solution I've seen to this problem: http://stackoverflow.com/questions/13622909/matplotlib-how-to-colorize-a-large-number-of-line-segments-as-independent-gradi There is also an example in the gallery: http://matplotlib.org/examples/pylab_examples/multicolored_lin

[Matplotlib-users] changing the shade of a color depending on a value

2013-02-27 Thread Rita
Hi, I am currently plotting cpu utilization over time (plot_time). I would like the color of my line to be red when at 100%. 80-90% a bit less red, more yellow, and lower numbers will be green. Any thoughts of doing this? -- --- Get your facts first, then you can distort them as you please.-- -

Re: [Matplotlib-users] cross correlation

2013-02-27 Thread Sudheer Joseph
Dear Pierre,                         I was checking the plt.xcorr and it calls the np.correlate in side it. It calls np.correlate(ts1,ts2, mode=2). Is there a way to see which vector is sided back in time? ie ts1[t1,t2,t3,t4] ts2[t1,t2,t3,t4...]  ( ts2[t2] correlated with ts1[t1] or ts2[t1]