Copy, create, cut, delete, edit, and paste datum lines, either defined by a range or
the marked entity.
Syntax
xy
datumhorizontal
copy
<mark|marked|range>
xy
datumhorizontal
create
<mark|marked|range>
<name>=<value>
xy
datumhorizontal
cut
<mark|marked|range>
xy
datumhorizontal
delete
<mark|marked|range>
xy
datumhorizontal
edit
<mark|marked|range>
xy
datumhorizontal
paste
<mark|marked|range>
Arguments
- create
- Create a horizontal datum by specifying datum attributes.
- Select mark, marked, or
range to apply the attributes to the specified
datum(s).
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the range for the entity you want to apply the action
to.
- The attributes include:
- associatedaxis=<axisname>
- The axis the datum line is associated with.
- font=<font>
- Define the font type.
- fontsize=<fontsize>
- Define the font size.
- label=<label>
- The datum line label.
- labellocation=<location>
- Select the location for the datum label in the modeling
window.
- Options include:
- Upper Left
- Upper Center
- Upper Right
- Lower Left
- Lower Center
- Lower Right
- Mouse Over
- layer=<layerid>
- The layer ID.
- linecolor=<color>
- Set the datum line color by selecting a color from the color
picker.
- linestyle=<style>
- Enter a value from 0-5 to set the datum line style.
- linethickness=<thickness>
- Enter a value of 0-4 to set the datum line thickness.
- name=<name>
- The datum line name.
- position = <position>
- A value for the position of the datum.
- The value entered can be any of the following:
- A single value.
- A math expression that returns a single value (without
curly brackets, {}).
- A math expression as a function of x or y, with x or y
being the horizontal or vertical axes values,
respectively.
- visibility
- true displays the datum line in the
modeling window.
- copy
- Copies the selected entity.
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the range for the entity you want to apply the action
to.
- cut
- Removes the selected entity from the Plot Browser and
deletes it from the current session.
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the range for the entity you want to apply the action
to.
- delete
- Deleted the selected entity.
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the range for the entity you want to apply the action
to.
- edit
- Edit the selected entity's properties.
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the range for the entity you want to apply the action
to.
- Editable properties include:
- associatedaxis=<axisname>
- The axis the datum line is associated with.
- font=<font>
- Define the font type.
- fontsize=<fontsize>
- Define the font size.
- label=<label>
- The datum line label.
- labellocation=<location>
- Select the location for the datum label in the modeling
window.
- Options include:
- Upper Left
- Upper Center
- Upper Right
- Lower Left
- Lower Center
- Lower Right
- Mouse Over
- layer=<layerid>
- The layer ID.
- linestyle=<style>
- Enter a value from 0-5 to set the datum line style.
- linecolor=<color>
- Set the datum line color by selecting a color from the color
picker.
- linethickness=<thickness>
- Enter a value of 0-4 to set the datum line thickness.
- name=<name>
- The datum line name.
- position = <position>
- A value for the position of the datum.
- The value entered can be any of the following:
- A single value.
- A math expression that returns a single value (without
curly brackets, {}).
- A math expression as a function of x or y, with x or y
being the horizontal or vertical axes values,
respectively.
- visibility
- true displays the datum line in the
modeling window.
- paste
- Pastes the selected entity into a window.
- mark
- mark=<marklabel>
- marked
- <true/false>.
- True applies the action to the marked
entity.
- range
- Define the window range for the entity you want to apply the
action to.
Examples
Create a horizontal
datum:
xy datumhorizontal create range= "p:1 w:1 i:6" name= "Datum 8" linecolor=36 linestyle= 2 linethickness= 2 visibility= true font= "Arial 8 normal roman" associatedaxis= 1 label= Datum New
Delete a horizontal
datum:
xy datumhorizontal delete range="p:all w:all i:all"
Edit the datum's
color:
xy datumhorizontal edit range="p:1 w:all i:all" linecolor=2