Menu

[r301]: / trunk / htdocs / index.html.template  Maximize  Restore  History

Download this file

93 lines (82 with data), 3.5 kB

commands = (
    ('axes', 'create a new axes'),
    ('axis', 'set or return the current axis limits'),
    ('bar', 'make a bar chart'),
    ('cla', 'clear the current axes'),
    ('clf', 'clear the current figure window'),
    ('close', 'close the current figure window'),
    ('cohere', 'make a plot of coherence'),
    ('csd', 'make a plot of cross spectral density'),
    ('date_plot', 'plot date data'),
    ('errorbar', 'make an errorbar graph'),
    ('figlegend', 'add a legend to the figure'),
    ('figure', 'create or change active figure'),
    ('fill', 'draw filled polygons'),
    ('gca', 'return the current axes'),
    ('gcf', 'return the current figure'),
    ('get', 'get a handle graphics property'),
    ('grid', 'set the axis grid lines on or off'),	
    ('hist', 'make a histogram'),
    ('imshow', 'show an image'),
    ('legend', 'add a legend to the axes'),
    ('load',  'load ASCII data into an array'),
    ('loglog', 'a log log plot'),
    ('pcolor', 'generate pseudo color plots'),
    ('plot', 'make a line plot'),
    ('psd', 'make a plot of power spectral density'),
    ('save',  'save array as ASCII data array'),
    ('savefig', 'save the current figure'),
    ('scatter', 'make a scatter plot'),
    ('semilogx', 'log x axis'),
    ('semilogy', 'log y axis'),
    ('set', 'set a handle graphics property'),
    ('show', 'show the figures'),
    ('specgram', 'a spectrogram'),
    ('subplot', 'make a subplot (numrows, numcols, axesnum)'),
    ('table', 'add a table to the axes'),
    ('text', 'add some text at location x,y to the current axes'),
    ('title', 'add a title to the current axes'),
    ('xlabel', 'add an xlabel to the current axes'),
    ('ylabel', 'add a ylabel to the current axes'),
)

@header@

<h2>Matplotlib</h2> 

  matplotlib is a python 2D plotting library which produces
  publication quality figures using in a variety of hardcopy formats
  (PNG, JPG, PS) and interactive GUI environments (WX, GTK, Tkinter)
  across platforms.  matplotlib can be used in python scripts,
  interactively from the python shell (ala matlab or mathematica), in
  web application servers generating dynamic charts, or embedded in
  GTK, Tk or WX applications; see <a href=backends.html>backends</a>.
  All of the matplotlib backends can be used on linux, windows or Mac
  OS X.<p>

  matplotlib trys to make easy things easy and hard things possible.
  You can generate plots, histograms, power spectra, bar charts,
  errorcharts, scatterplots, etc, with just a few lines of code.  For
  example, to make a histogram of data in x, you simply need to type

  <pre>
  >>> hist(x, 100)   # use 100 bins
  </pre>

  For the power user, you have full control of line styles, font
  properties, axes properties, etc, via an object oriented interface
  or via a handle graphics interface familiar to matlab users.  A
  summary of the goals of matplotlib and the progress so far can be
  found <a href=goals.html>here</a>.<p>

  The plotting functions in the <a href=matlab.html>matlab
  interface</a> have a high degree of Matlab&reg compatibility.<p>

  <br>
  <table @default_table@>
  <caption><h3>Plotting commands</h3></caption>
  <tr><th>Function</th><th>Description</th></tr>
  + for command, desc in commands:
    <tr>
      <th align="left">
        <a href=matplotlib.matlab.html#-@command@>@command@</a>
      </th>

      <td align="left">
        @desc@
      </td>

    </tr>
  - 
  </table>
@footer@
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.