xy curve

Copy, create, cut, delete, edit, paste, and perform stackmath operations on curves, either defined by a range or the marked curve(s).

Syntax

xy curve copy <mark/marked/range>

xy curve create <mark/marked/range> <name>=<value>

xy curve cut <mark/marked/range>

xy curve delete <mark/marked/range>

xy curve edit <mark/marked/range> <name>=<value>

xy curve paste <mark/marked/range>

xy curve stackadd <mark/marked/range> <name>=<value>

xy curve stackcopy <mark/marked/range>

xy curve stackcut <mark/marked/range>

xy curve stackdelete <mark/marked/range>

xy curve stackdown <mark/marked/range>

xy curve stackedit <mark/marked/range> <name>=<value>

xy curve stackpaste <mark/marked/range>

xy curve stackup <mark/marked/range>

Arguments

copy
Copies the selected curve.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the range for the curve(s) you want to apply the action to.
create
Create a curve.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the range for the curve(s) you want to apply the action to.
Curve properties include:
  • curvelabel=<label>
  • layer=<layer_id>
  • linecolor=<color>
  • linestyle=<style>
  • linethickness=<thickness>
  • prefix=<prefix>
  • reference=<true/false>
  • shadearea=<true/false>
  • showlabel=<true/false>
  • showprefix=<true/false>
  • showsuffix=<true/false>
  • suffix=<suffix>
  • symbolcolor=<color>
  • symbolfrequency=<frequency>
  • symbolscalesize=<scalesize>
  • symbolstyle=<style>
  • visibility=<true/false>
  • xaxisassignment=<axis>
  • xcomponent=<component>
  • xexpression=<expression>
  • xfile=<file>
  • xfirstvalue=<value>
  • xfreeze=<true/false>
  • xoffset=<offset>
  • xrequest=<request>
  • xscale=<scale>
  • xscale=<scalefactor>
  • xsubcase=<subcase>
  • xtype=<file/math/value>
  • xtype=<type>
  • xunitsmeasure=<measurement>
  • xuserexpression=<expression>
  • xvalues=<valuelist>
  • yaxisassignment=<axis>
  • ycomponent=<component>
  • yexpression=<expression>
  • yfile=<file>
  • yfirstvalue=<value>
  • yfreeze=<true/false>
  • yoffset=<offset>
  • yrequest=<request>
  • yscale=<scale>
  • yscale=<scalefactor>
  • ysubcase=<subcase>
  • ytype=<file/math/value>
  • ytype=<type>
  • yunitsmeasure=<measurement>
  • yuserexpression=<eypression>
  • yvalues=<valuelist>
Note: The same options are available for u and v vectors.
cut
Removes the selected curve from the Plot Browser and deletes it from the current session.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the range for the curve(s) you want to apply the action to.
delete
Deleted the selected curve.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the range for the curve(s) you want to apply the action to.
edit
Edit the selected curve's properties.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the range for the curve(s) you want to apply the action to.
Curve properties include:
  • curvelabel=<label>
  • layer=<layer_id>
  • linecolor=<color>
  • linestyle=<style>
  • linethickness=<thickness>
  • prefix=<prefix>
  • reference=<true/false>
  • shadearea=<true/false>
  • showlabel=<true/false>
  • showprefix=<true/false>
  • showsuffix=<true/false>
  • suffix=<suffix>
  • symbolcolor=<color>
  • symbolfrequency=<frequency>
  • symbolscalesize=<scalesize>
  • symbolstyle=<style>
  • visibility=<true/false>
  • xaxisassignment=<axis>
  • xcomponent=<component>
  • xexpression=<expression>
  • xfile=<file>
  • xfirstvalue=<value>
  • xfreeze=<true/false>
  • xoffset=<offset>
  • xrequest=<request>
  • xscale=<scale>
  • xscale=<scalefactor>
  • xsubcase=<subcase>
  • xtype=<file/math/value>
  • xtype=<type>
  • xunitsmeasure=<measurement>
  • xuserexpression=<expression>
  • xvalues=<valuelist>
  • yaxisassignment=<axis>
  • ycomponent=<component>
  • yexpression=<expression>
  • yfile=<file>
  • yfirstvalue=<value>
  • yfreeze=<true/false>
  • yoffset=<offset>
  • yrequest=<request>
  • yscale=<scale>
  • yscale=<scalefactor>
  • ysubcase=<subcase>
  • ytype=<file/math/value>
  • ytype=<type>
  • yunitsmeasure=<measurement>
  • yuserexpression=<eypression>
  • yvalues=<valuelist>
Note: The same options are available for u and v vectors.
paste
Pastes the selected curve into a window.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked curve.
range
Define the window range for the curve(s) you want to apply the action to.
stackadd
Add a stackmath operation.
mark
mark=<marklabel>
Default mark must be a of type=curve mark.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
operation=<operation>
Select the stackmath operation to add:
  • absolute
  • automir
  • bridge
  • cut
  • derivative
  • integral
  • octave
  • offset
  • replace
  • resample
  • reverse curve
  • SAE
  • square
  • trim
enable=<true/false>
Enable/disable to stackmath operation.
<parameter1...parametern>=value
Define the parameter options for the selected stackmath operation.
stackcopy
Copy a stackmath operation.
mark
mark=<marklabel>
Mark can be both of type curve or stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
stackcut
Cut a stackmath operation.
mark
mark=<marklabel>
Mark must be of type stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
stackdelete
Delete a stackmath operation.
mark
mark=<marklabel>
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
stackdown
Move a stackmath operation down.
mark
mark=<marklabel>
Mark must be of type stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
stackedit
Edit a stackmath operation.
mark
mark=<marklabel>
Mark must be of type stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
enable=<true/false>
Enable/disable the stackmath operation. Parameters available depend on the stackmath type.
<parameter1...parametern>=value
Edit the parameter options for the selected stackmath operation.
stackpaste
Paste a stackmath operation.
mark
mark=<marklabel>
Mark can be both of type curve or stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.
stackup
Move a stackmath operation up.
mark
mark=<marklabel>
Mark must be of type stack.
marked
<true/false>.
True applies the action to the marked entity.
range
Define the window range for the curve(s) you want to apply the action to.

Examples

Create a curve:
xy curve create range= "p:1 w:1" xsource= math xexpression= 20:100:0.1 ysource= math yexpression= sin(x)
Copy curve 2, located in window 2 on page 1:
xy curve copy range="p:1 w:2 i:2"
Paste the copied curve to window 2 on page 1:
xy curve paste type=plot range="p:1 w:2 "
Change the color of curve 1, located in window 2 on page 1, to yellow:
xy curve edit range="p:1 w:2 i:1" linecolor=5
Add a stackmath operation of type bridge:
xy curve stackadd range="p:1 w:1 i:1" operation=bridge start=0 end=100 interpolate=false
Add a stackmath operation of type octave:
xy curve stackadd range= "p:1 w:1 i:1" operation= octave enabled= true method= Integral octaveType= 1/12
Edit the stackmath operation:
xy curve stackadd range="p:1 w:1 i:1" operation=bridge start=0 end=100 interpolate=false