Plot: Specialized : Contour Line + Gradient Vector
or
Plot: Specialized : Contour + Streamline.
Create a Contour Line + Gradient Vector Chart or Contour + Streamline Chart
Minimum Origin Version Required: Origin 2025
1. plot_xyzquiver -r 1 iz:=[Book1]Sheet1!(A,B,C) type:=streamline xpts:=25 ypts:=25 oms:=[<new>]<new>;
2. plot_xyzquiver -r 1 skip:=5 rd:=<new>;
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 |
|---|---|---|---|---|
| Input | iz |
Input XYZRange |
Specify the input data column. | |
| Plot Type | type |
Input int |
Specify the plot type.
Option list:
| |
| Skip Points by Increment | skip |
Input int |
When Plot Type is Contour Line + Gradient Vector, it keeps one point and skips N-1 points(N is the setting) | |
| Number of Points in X Direction | xpts |
Input int |
When Plot Type is Contour + Streamline, it control Number of Points in X Direction | |
| Number of Points in Y Direction | ypts |
Input int |
When Plot Type is Contour + Streamline, it control Number of Points in Y Direction | |
| Template | template |
Input string |
Specify the graph template to create this plot. ContQuiverXYZ.optu or ContStreamXYZ.optu is the default template that is installed to the Origin program folder.
0=...File:[Graph Template (*.otpu )] *.otpu
| |
| ReportData | rd |
Output ReportData |
|
Specify where to output result table. |
| Output Matrix Layer | oms |
Output ReportData |
|
Specify where to output Matrix layer. |
This X-Function allows you to create a gradient vector(or quiver plot) overlay on the contour line plot or a streamline overlay on the contour plot.
Please refer to Contour Line + Gradient Vector and Contour + Streamline for more details.