
Contents |
Stack
Plot stacked graph
Minimum Origin Version Required: 8.1 SR1
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Input | iy |
Input XYRange | | Specify the input range. |
| Plot Type | plottype |
Input int | | Specify the plot type.
Option list:
|
| Plot Types in Each Layer | custom |
Input string | | This variable is only available when the Plot Type is Custom. It specifies the plot types for the plots in each layer. Each plot type has its own value, just type the values and separate them by space. Click here to get the value of the corresponding plot type. When the number of the specified plot types doesn't equal to the number of plots in the layer, the way to use the plot types will be the same as the one when the Plot Type is Use Template. |
| Separate types (200=Line, 201=Scatter...) by space. Example: 200 201 202 |
Input string | | This is a hint text that will appear on the dialog. | |
| Graph Template | template |
Input string | | Specify the template for the graph page. If the Plot Type is Use Template, the plot types contained in the template will be used. |
| Orientation | portrait |
Input int | | Specify the orientation for the graph.
Option list:
|
| Stack Direction | dir |
Input int | | Specify the stack direction.
Option list:
|
| Layer Order | order |
Input int | | Specify the order to arrange the layers.
Option list:
|
| Legend | legend |
Input int | | Specify how to generate the legend for the graph.
Option list:
|
| Link Layers | link |
Input int | | Specify whether to link the layers. |
| X Axis Link | xlink |
Input int | | This variable is available only when the Link Layers check-box is checked. It specifies how to establish the link between the X axes of all layers.
Option list:
|
| Unit | unit |
Input int | | This variable is available only when the Link Layers check-box is checked. It specifies the unit for the layers.
Option list:
|
| Number of Layers | layer |
Input int | | Specify the number of layers. The default number equals to the number of plots. |
| Number of Plots in Each Layer | number |
Input string | | Specify the number of plots in each layer. You can separate numbers by space to specify the number of plots in each layer one by one. Example: 1 2 3. |
| Separate numbers by space. Example : 1 2 3 |
Input string | | This is just a hint text that will appear on the dialog. | |
| Actual number of plots in each layer : |
Input string | | This is a read-only text in the dialog that shows the actual number of plots in each layer. | |
| Vertical/Horizontal Gap | gapy |
Input int | | Specify the vertical gap (when Stack Direction is Vertical) or the horizontal gap (when Stack Direction is Horizontal(X-Y Axes Exchanged)) between adjacent layers. |
| Left Margin | leftmg |
Input int | | Specify the left margin of the page. |
| Right Margin | rightmg |
Input int | | Specify the right margin of the page. |
| Top Margin | topmg |
Input int | | Specify the top margin of the page. |
| Bottom Margin | bottommg |
Input int | | Specify the bottom margin of the page. |
This X-Function plots several ranges into a stacked graph. Plot types can be customized for the plots in each layer and the layers can be stacked vertically or horizontally.
plotstack -d; in the command window to bring up the plotstack dialog.