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
Ralph Kube wrote:
> Hey everybody,
> thank you for your answers. I use matplotlib from qt4 now. What I do is
> creating a widget in a gui and using this for plotting. The plot is to
> refreshed by clicking on a button. This works perfectly fine,
> until I start adding a colorbar to the plot.
> When
Hey everybody,
thank you for your answers. I use matplotlib from qt4 now. What I do is
creating a widget in a gui and using this for plotting. The plot is to
refreshed by clicking on a button. This works perfectly fine,
until I start adding a colorbar to the plot.
When I add the colorbar and replot
Hi Eric,
I didn't intend to be faster or more memory saving than clearing the axes but
to preserve the properties of the axes (like the label in my example).
What are the advantages of using 'cla' instead of deleting old collections?
Kind regards,
Matthias
PS: The following works as the previo
Ralph Kube-2 wrote:
>
>
> Is there an
> easy way out?
>
>
Well, you could just script it and create .png files I do it all the
time.
--
View this message in context:
http://www.nabble.com/Update-a-contour-plot-tp25648878p25653140.html
Sent from the matplotlib - users mailing list arc
Matthias Michler wrote:
> Hi Ralph,
>
> I don't think there exists a function like the line-'set_data'-method for
> collections, which are generated by 'contour'. This particular method of
> lines only changes the data but leave anything else unchanged.
> I attached an easy approach of updating
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 Ralph,
I don't think there exists a function like the line-'set_data'-method for
collections, which are generated by 'contour'. This particular method of
lines only changes the data but leave anything else unchanged.
I attached an easy approach of updating a contour plot (simply deleting old
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
--