;ň %Ac @ s¨ d k Z d k Z d e i f d YZ d Z d e i i i Z e d j oP d k Z d k Z d k Z e i d e i i e i d g e i d n d S( Ns TestPanelc B s t Z d Z d Z RS( Nc C sZ | | _ t i i | | d t i | d d d d f } | i t i | i | d S( Ni˙˙˙˙s Show the PyPlot samplei2 ( s logs selfs wxs Panels __init__s parents Buttons bs Binds EVT_BUTTONs OnButton( s selfs parents logs b( ( sf /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/PyPlot.pys __init__ s c C s) t i i i | d d } | i d S( Ni˙˙˙˙s PlotCanvas Demo( s wxs libs plots TestFrames selfs wins Show( s selfs evts win( ( sf /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/PyPlot.pys OnButton s ( s __name__s __module__s __init__s OnButton( ( ( sf /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/PyPlot.pys TestPanel s c C s t | | } | Sd S( N( s TestPanels nbs logs win( s frames nbs logs win( ( sf /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/PyPlot.pys runTest" s s
PyPlot is an improvement over wxPlotCanvas, which is now deprecated. If you are using wxPlotCanvas now, please make plans to migrate in anticipation of the time that wxPlotCanvas disappears completely.
The demo illustrates four different plot styles (with appropriate variations on fonts, etc, to show how flexible it is) as well as provides you with a means to tinker with all the features that come with the class itself.
This allows you to set up how the plot will be printed. This is built into the library itself.
As you might expect, this allows you to preview how the plot will look when printed, in light of the page setup you may have selected above.
Surprise! It prints the current plot to your printer! :-)
That's right, the library even provides you with the means to export the plotted data out to a graphics file. Several formats are allowed for, basically any image class that supports saving.
Different data with different plot formats, including one empty plot.
If Zoom is enabled, you can rubber-band select an area of the plot to examine it in detail using the left mouse button. Right mouse button zooms back out. This is automatically supported by the library, all you have to do is turn it on.
Plots can have different styles of grids, and and these grids can be turned on or off as needed.
Plot can have legends or not, the contents which are definable by you.
%ss __main__s i i ( s wxs wx.lib.plots Panels TestPanels runTests libs plots __doc__s overviews __name__s syss oss runs mains paths basenames argv( s syss runs overviews runTests wxs oss TestPanel( ( sf /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/PyPlot.pys ? s O