Graph: Speed Mode
Set speed mode property of graph layers
1. speedmode index:=folder;
2. speedmode sm:=off;
3. speedmode sm:=custom wks:=1 max:=500;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Target | index |
Input int |
|
Specifies the target graphs.
|
Speed Mode | sm |
Input int |
|
Specifies speed mode setting.
|
Worksheet data, maximum points per curve | wks |
Input int |
|
This variable is available only when Customize is selected for Speed Mode. It specifies whether or not the max variable should be available. |
Max | max |
Input int |
|
This variable is available only when the wks variable is set to 1. It specifies the maximum points allowed per curve. |
Matrix data, maximum points per dimension | mat |
Input int |
|
This variable is available only when Customize is selected for Speed Mode. It specifies whether or not the x variable and the y variable should be available. |
X | x |
Input int |
|
This variable is available only when the mat variable is set to 1. It works with the y variable. Let n and m be the value of the x variable and the y variable respectively. When the number of data points in a data plot exceeds n or m, Origin displays a subset of the data plot composed of -- at maximum -- n by m points. This subset is drawn by extracting values at regular intervals from the matrix columns (X) and rows (Y). |
Y | y |
Input int |
|
This variable is available only when the mat variable is set to 1. It works with the x variable. Let n and m be the value of the x variable and the y variable respectively. When the number of data points in a data plot exceeds n or m, Origin displays a subset of the data plot composed of -- at maximum -- n by m points. This subset is drawn by extracting values at regular intervals from the matrix columns (X) and rows (Y). |
In addition to graphic image caching, you can use Origin's Speed Mode to increase the redraw speed of your graph layer. With speed mode, you can control the number of data points displayed in a graph layer. This XF is most useful when you are working with large data sets. Also, you can change speed mode settings in the Plot Details dialog.
Notes: When Speed Mode is enabled, the layer icon displays in red and the Speed Mode is on watermark appears in the layer. However, the watermark is not included when printing, copying, or exporting the graph.
1.To turn on the speed mode for active graph, run the following script:
speedmode sm:=3
2.To customize the speed mode settings for a 3D graph which is plotted from matrix data. You can select Graph: Speed Mode from the menu to open dialog when the graph is active. Then you can edit the options in the X-Function dialog.
Keywords:plotting speed