[Matplotlib-users] sampledoc sphinx-tutorial (missed link)

2012-09-17 Thread Massimo Di Stefano
Hi All, I'm trying to access to the sampledoc tutorial, but seems it is no more on git/sourceforge, i tried at the link : http://matplotlib.sourceforge.net/sampledoc/ do you know where can i find it ? Thanks! Massimo. --

Re: [Matplotlib-users] bar plot (autofmt_xdate and left-right margins )

2012-04-01 Thread Massimo Di Stefano
th, color='blue', lw=2) plt.xticks(xx + (width/1.2), x) plt.autoscale(enable=True, axis='both', tight=True) plt.bar(xp, y_p, width, color='red', lw=2) plt.title(Yval) fig.autofmt_xdate() plt.xlabel("Year") plt.ylabel(Yval) plt.a

[Matplotlib-users] bar plot (autofmt_xdate and left-right margins )

2012-03-31 Thread Massimo Di Stefano
Hi All i'm bring to do simple bar plot formatting the xlabe as 'date' using a syntax like : fig.autofmt_xdate(bottom=0.1) but something is wrong in my code, please have you any hints on ghow to proper display the dates (Year) along the x axis and how to leave a margin on the left and on the

Re: [Matplotlib-users] [PyQt] refresh 3dplot

2011-02-08 Thread Massimo Di Stefano
w the plot is refreshed ok :-) Il giorno 08/feb/2011, alle ore 10.35, Massimo Di Stefano ha scritto: > hello All > > have you never tried to embed a matplotlib 3d graph inside pyqt ? > > i'm tring to do it .. but i've problenms to refresh my plot. > > The 3d d

[Matplotlib-users] refresh 3dplot

2011-02-08 Thread Massimo Di Stefano
hello All have you never tried to embed a matplotlib 3d graph inside pyqt ? i'm tring to do it .. but i've problenms to refresh my plot. The 3d data are displayed ok inside a pyqt simple widget, but if i try to redraw the image (re-call the on_draw function) ... i have it overlay the previous

Re: [Matplotlib-users] adjust axis to display array values

2011-02-08 Thread Massimo Di Stefano
mo Di Stefano ha scritto: > Hi Benjamin, > > The mat file is : > > > > few kbyte :-) > > > thnaks! > > Massimo > > > > Il giorno 04/feb/2011, alle ore 19.41, Benjamin Root ha scritto: > >> On Friday, February 4, 2011, Massimo Di

[Matplotlib-users] adjust axis to display array values

2011-02-04 Thread Massimo Di Stefano
Hello All, i'm plotting a 3d colored surface using a 4D array that comes from a .mat file using this code : import scipy.io as sio import pylab as p import mpl_toolkits.mplot3d.axes3d as p3 def loadmatfile(matfile): matdata = sio.loadmat(matfile) return matdata def plot3dcolor(matfile)

[Matplotlib-users] display each images from a directory

2010-11-29 Thread Massimo Di Stefano
Hello All, i'm tring to write python code to display images from a directory .. but i'm not able to learn how to use the matplotlib events to handle how the images will be displaied. simpli i need to pass to the code the path to directory where i have several tiff files and disply them one at t

[Matplotlib-users] matplotlib and large array

2010-06-09 Thread Massimo Di Stefano
Hi All, i need to work with a relative large images "60 mb" (single band geotiff file) i store it in python as a numpy array using python-gdal, the array dinension is (7173 X 7924) single band image, but tring to display it with matshow/imageshow or other matplotlib functions i have that python f

[Matplotlib-users] display image as (r, g, b) from a (3xMxN) nympy.array

2010-02-27 Thread Massimo Di Stefano
Hi All, i've data store in a multydimension numpy.array, it is composed by 3 MxN normalized (0 - 1) array but tring to display it using "imshow" i get an error, " TypeError: Invalid dimensions for image data " please can you help me to fix this problem ? my data is : In [119]: dd[0] Out[11

Re: [Matplotlib-users] gps-satellite sky-plot

2009-07-08 Thread Massimo Di Stefano
s : i don't know the math formulae and matplotlib syntax needed to create a such kind of plot. thanks for any suggestion! regards, Massimo. Il giorno 03/lug/09, alle ore 03:34, Jeff Whitaker ha scritto: Massimo Di Stefano wrote: Hi All, i'm starting to learn matplotlib, for my stud

[Matplotlib-users] gps-satellite sky-plot

2009-07-02 Thread Massimo Di Stefano
Hi All, i'm starting to learn matplotlib, for my study i need to parse the nmea sentence from a gps and plot a "sky graphic" to plot satellite visibility. (i tried to write code from scratch ... it works but my teacher suggest me to not reinvent the well, so, to have a good nema parser, i i