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])
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
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
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
--
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
--