2.10.23 plot_rowwise
Menu Information
Plot: 2D: Line + Symbol: Row-Wise
Brief Information
Create graph from row-wise data
Additional Information
Minimum Origin Version Required: 2019 SR0
Command Line Usage
1. plot_rowwise iy:=[Book1]Sheet1!((,2),(,3),(,4)) ylabel:=[Book1]Sheet1!1 xdata:=label xlabel:=L type:=linesymb rd:=[<new>]<new>;
2. plot_rowwise iy:=[Book1]Sheet1!((,B),(,C),(,D)) ylabel:=[Book1]Sheet1!A xdata:=selrow1 type:=column;
3. plot_rowwise -r 1 iy:=[Book1]Sheet1!((,B),(,C),(,D)) ylabel:=[Book1]Sheet1!F xdata:=wksrow1 type:=scatter template:="C:\Users\Documents\OriginLab\User Files\Rowwise_01.otpu";
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
Display Name
|
Variable Name
|
I/O and Type
|
Default Value
|
Description
|
| Rowwise Data
|
iy
|
Input
XYRange
|
<active>
|
The input data range. It can be one or more Y columns, optionally with associated Y error columns.
|
| Y Label in
|
ylabel
|
Input
vector
|
<unassigned>
|
Specify a column as plot legend.
|
| X Data in
|
xdata
|
Input
string
|
2
|
Specify X axis value. Option list:
- selrow1(0): 1st row in selection
- Use the values of the first row in the selection
- wksrow1(1): 1st row in sheet
- Use the values of the first row in the worksheet.
- Use the values of the column labels in the worksheet.
- Custom a row in the worksheet as X data. It will allow to specify the row in xrng.
|
| Column Label
|
xlabel
|
Input
string
|
<unassigned>
|
Specify a string for Column Label whose row is used as X value.
- L: Long Name
- U: Units
- C: Comments
|
| X Row Range
|
xrng
|
Input
Range
|
<unassigned>
|
Specify a row range as X data. Only when xdata is set to 3, xrng can be specified.
|
| Plot Type
|
type
|
Input
int
|
0
|
Specify a plot type. Option list:
- line(0): Line plot
- scatter(1): Scatter plot
- linesymb(2): Line+Symbol plot
- column(3): Column chart
- bar(4): Bar chart
|
| Plot Order
|
porder
|
Input
int
|
1
|
Specify the plot order according to a categorical Y column. Only when specify a categorical Y column as ylabel, this option is avaiable.
Option list:
-
- Plot column in intermediate sheet follow source data row order.
- cat(1): Categorical Order
- Plot column in intermediate sheet follow categorical order of Y Label in column.
|
| Graph Template
|
template
|
Input
int
|
<auto>
|
Specify the graph template for the plot.
0=...File:[Graph Template (*.otpu)] *.otpu
|
| Output
|
rd
|
Output
ReportData
|
[<input>]<new>
|
Specify where to output the calculated data.
|
Description
For GUI access of this X-Function and further customization of the Row Wise plot, please refer to this help file.
|