2.10.28 plot_xyzquiver


Menu Information

Plot: Specialized : Contour Line + Gradient Vector
or
Plot: Specialized : Contour + Streamline.

Brief Information

Create a Contour Line + Gradient Vector Chart or Contour + Streamline Chart

Additional Information

Minimum Origin Version Required: Origin 2025

Command Line Usage

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>;

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
Input iz

Input

XYZRange

<active>
Specify the input data column.
Plot Type type

Input

int

0
Specify the plot type.

Option list:

  • 0=gradient:Contour Line + Gradient Vector,
  • 1=streamline:Contour + Streamline
Skip Points by Increment skip

Input

int

1
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

10
When Plot Type is Contour + Streamline, it control Number of Points in X Direction
Number of Points in Y Direction ypts

Input

int

10
When Plot Type is Contour + Streamline, it control Number of Points in Y Direction
Template template

Input

string

multivari
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
1=[Graph Template(*.otp)]*.otp

ReportData rd

Output

ReportData

<optional>
Specify where to output result table.
Output Matrix Layer oms

Output

ReportData

<optional>
Specify where to output Matrix layer.

Description

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.