tdbenson / wxmplot Goto Github PK
View Code? Open in Web Editor NEWThis project forked from newville/wxmplot
simple, rich plotting functions built on top of wx and matplotlib
Home Page: http://newville.github.io/wxmplot/
License: Other
This project forked from newville/wxmplot
simple, rich plotting functions built on top of wx and matplotlib
Home Page: http://newville.github.io/wxmplot/
License: Other
The wxmplot python package provides simple, rich plotting widgets for wxPython. These are built on top of the matplotlib library, which provides 2D plots and image display. The wxmplot package does not explicitly expose all of matplotlib's capabilities. Instead, it provides simple widgets (wxPython panels) for the most common use cases of basic 2D plotting and image display that are easy to include in a wxPython program and provide end-users with interactivity and customization of the graphics without knowing all of the details of matplotlib. The principle objects provided by wxmplot are: == PlotPanel: a wx.Panel containing a 2D Plot. == PlotFrame: a wx.Frame containing a PlotPanel For the end-user, these provide the abilities to: 1. display x, y coordinates (left-click) 2. zoom in on a particular region of the plot (left-drag) 3. customize titles, labels, legend, color, linestyle, marker, and whether a grid is shown. A separate frame is used to set these attributes. 4. save high-qualiy plot images (as PNGs), copy to system clipboard, or print. For the programmer, these provide simple plotting methods: plot(x,y): start a new plot, and plot data x,y optional arguments (all keyword/value types): color='Blue' for any X11 color name, (rgb) tuple, or '#RRGGBB' style='solid' 'solid,'dashed','dotted','dot-dash' linewidth=2 integer 0 (no line) to 10 marker='None' any of a wide range of marker symbols markersize=8 integer 0 to 30 xlabel=' ' label for X axis ylabel=' ' label for Y axis title=' ' title for top of PlotFrame grid=True boolean for whether to show grid. oplot(x,y): plot data x,y, on same plot as current data with optional arguments as plot() clear(): clear plot save_figure(): bring up file dialog for saving image of figure == ImagePanel: a wx.Panel containing an image. == ImageFrame: a wx.Frame containing an ImagePanel and widgets for configuring the image. This displays a numpy array as an greyscale or false color image. The end user can zoom in, rotate, or flip the image, and adjust the smoothing of the image and adjust the color table and intensity scale. Programmatically, one can make the same adjustments to an ImagePanel by changing its configuaration attributes and running the redraw() method. ===== last update: 2017-Apr-2 Matt Newville <[email protected]>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.