commands = ( ('axes', 'create a new axes'), ('axis', 'set or return the current axis limits'), ('bar', 'make a bar chart'), ('close', 'close a figure window'), ('cohere', 'make a plot of coherence'), ('csd', 'make a plot of cross spectral density'), ('errorbar', 'make an errorbar graph'), ('figure', 'create or change active figure'), ('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'), ('loglog', 'a log log plot'), ('pcolor', 'generate pseudo color plots'), ('plot', 'make a line plot'), ('psd', 'make a plot of power spectral density'), ('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'), ('subplot', 'make a subplot (numrows, numcols, axesnum)'), ('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 existing plotting commands have a high degree of Matlab® compatibility.
Function | Description |
---|---|
@command@ | @desc@ |