[Matplotlib-users] Formatting numbers with exponent with matplotlib

2010-05-17 Thread Ralph Kube
Hello folks. I am trying to teach pylab to use latex to write numbers with an exponent in the plot legend. So far my plot labels are formatted with scientific notation, where I use the format operate: import pylab ra_list,b = data pylab.plot(ra_list,b, label='Ra = ' + "{0:4.2e}".format(ra_list[i])

Re: [Matplotlib-users] Update a contour plot

2009-09-30 Thread Ralph Kube
Hey Eric, > > The colorbar method or pyplot function optionally resizes the image axes > and uses the liberated space to make an axes for itself. For your > application, you don't want to use this option; you need to make the > axes object manually and use the cax kwarg to tell colorbar to us

Re: [Matplotlib-users] Update a contour plot

2009-09-29 Thread Ralph Kube
leting the > collections. Better to just clear the axes, or clear the figure, and > make a fresh plot. > > Eric > > >> Kind regards, >> Matthias >> >> On Monday 28 September 2009 13:52:42 Ralph Kube wrote: >>> Hi, >>> is there

[Matplotlib-users] Update a contour plot

2009-09-28 Thread Ralph Kube
Hi, is there a way to update a contour plot? I need to display a series of contour plots from a directory with data files and want to view them consecutively, preferrably without building a gui for it. Is there an easy way out? Cheers, Ralph --

[Matplotlib-users] Update a contour plot

2009-09-28 Thread Ralph Kube
Hi, is there a way to update a contour plot? I need to display a series of contour plots from a directory with data files and want to view them consecutively, preferrably without building a gui for it. Is there an easy way out? Cheers, Ralph --