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'), ('stem', 'a stem plot'), ('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@
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
>>> hist(x, 100) # use 100 binsFor 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 here.
The plotting functions in the matlab interface have a high degree of Matlab® compatibility.
Function | Description |
---|---|
@command@ | @desc@ |