[wxPython-users] can a pyplot exist on a wxPanel or does it need to be in a wxFrame?

Christopher Barker Chris.Barker at noaa.gov
Thu Mar 8 14:33:19 PST 2007


 > Hoped you might know the answers to some pyplot questions

Sorry it's been a while since I've looked at it. I use matplotlib when I 
need plotting.

>  I can't find anything
> that lets me set the axes so it has a bit of axis "buffer" on either 
> side ( i.e. a bit zoomed out). 

I'd think it would be there -- at least to set the limit manually. Poke 
through the code -- it's not too heinous.

> 2) Can one have points connected by lines in pyplot?

Yes, I'm sure of that. Isn't there an example in the demo?

> 3) Can one put regression lines or threshold lines on the plot?  What 
> about fits?  I guess
> anything that is in fact a line or function can be slapped on it, so I 
> think I've answered my
> own question here.

right -- you need to do the calculation yourself, then it will plot what 
you get.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list