On Friday 28 March 2008 13:57, Chris Withers wrote:
> Matthias Michler wrote:
> > I'm not sure it is the easiest way, but it works for me:
> >
> > for label in ax.xaxis.get_majorticklabels():
> >     label.set_rotation(+90)
>
> Yes, that's what I was using, just wondered if there was a better way...

At least I don't know a better way, but I'm not an expert.

> >> Also, how would I get this kind of updating with bar charts or
> >> errorbars?
> >
> > In the case of bar charts and errorbars it is quite difficult to reset
> > the data.
>
> Oh, I also meant to ask about scatter, can the data be easilly reset there?

Scatter returns a line collection and I don't know if there is a method to 
reset their x/ydata.

> For bar charts and errorbar plots, I agree ;-) How would I just blank
> the figure and replot?
I'm not sure, but maybe clf() to clear the whole figure and cla() to clear the 
axes does the job.
> (I have just been calling errorbar lots, but I'm guessing that if I add
> a legend, I'll have one entry for each time I called errorbar :-S)

regards,
Matthias

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to