Difference between revisions of "Plot Commands"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Images of the one dimensional plot types can be seen [[Images of One Dimensional Plots|here]]. | Images of the one dimensional plot types can be seen [[Images of One Dimensional Plots|here]]. | ||
− | + | ||
{| {{Tablestyle}} | {| {{Tablestyle}} | ||
|- | |- | ||
Line 32: | Line 32: | ||
| Marker and Lin with Errorbars Plot | | Marker and Lin with Errorbars Plot | ||
|} | |} | ||
+ | |||
+ | |||
'''Syntax:''' | '''Syntax:''' | ||
+ | |||
<pre>>> dh(w, 'property', value, 'property2', value2,...)</pre> | <pre>>> dh(w, 'property', value, 'property2', value2,...)</pre> | ||
Line 40: | Line 43: | ||
===Overplots=== | ===Overplots=== | ||
− | + | If an overplot command is used, then the next plot will appear on top of the plot in the active plot window. | |
+ | |||
+ | {| {{Tablestyle}} | ||
+ | |- | ||
+ | ! {{Headcellstyle}} | Command | ||
+ | ! {{Headcellstyle}} | Plot Type | ||
+ | |- | ||
+ | ! | pl | ||
+ | | Overplot Line | ||
+ | |- | ||
+ | ! | pm | ||
+ | | Overplot Marker | ||
+ | |- | ||
+ | ! | pe | ||
+ | | Overplot Errorbar | ||
+ | |- | ||
+ | ! | ph | ||
+ | | Overplot Histogram | ||
+ | |- | ||
+ | ! | pp | ||
+ | | Overplot Marker with Errorbars | ||
+ | |- | ||
+ | ! | pp | ||
+ | | Overplot Marker and Line with Errorbars | ||
+ | |} | ||
+ | |||
===Plotting Arrays of [[IXTdataset_1d]]=== | ===Plotting Arrays of [[IXTdataset_1d]]=== |
Revision as of 10:32, 19 March 2008
The main purpose of the graphics package is to plot graphs. Several different commands exist to facilitate this.
One Dimensional Plots
Plot Types
Images of the one dimensional plot types can be seen here.
Command | Plot Type |
---|---|
dl | Line Plot |
dm | Marker Plot |
de | Errorbar Plot |
dh | Histogram Plot |
dp | Marker with Errorbars Plot |
dp | Marker and Lin with Errorbars Plot |
Syntax:
>> dh(w, 'property', value, 'property2', value2,...)
where w is a dataset and 'property' and value define property-value pairs. See the functions for a list of properties that can be set.
Overplots
If an overplot command is used, then the next plot will appear on top of the plot in the active plot window.
Command | Plot Type |
---|---|
pl | Overplot Line |
pm | Overplot Marker |
pe | Overplot Errorbar |
ph | Overplot Histogram |
pp | Overplot Marker with Errorbars |
pp | Overplot Marker and Line with Errorbars |