Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots template add_simulation

xy_plots template add_simulation

Allows you to add a set of simulation results to the xy plot. You can distinguish the new simulation results from the existing one using one of the following:
Color
Line type
Line thickness

Format:

 
xy_plots template add_simulation
plot_name =
existing plot
distinguish_by_color =
boolean
old_color =
existing color
new_color =
new color
distinguish_by_line_type =
boolean
old_line_type =
line_style
new_line_type =
line_style
distinguish_by_thickness =
boolean
old_thickness =
real
new_thickness =
real
old_run_name =
existing analysis
new_run_name =
existing analysis

Example:

 
xy_plots template &add_simulation &
Plot_name =
plot_1 &
Distinguish_by_color =
yes &
Distinguish_by_line_type =
no &
Old_thickness =
1.0 &
New_thickness =
3.0 &
Old_run_name =
last_run
The color of the curves specified in the analysis is changed automatically to distinguish the new results from the old, and the thickness is altered from 1.0 to 3.0.

Description:

 
Parameter
Value Type
Description
plot_name
Existing Plot Name
Specifies a string of characters that identifies an existing plot
distinguish_by_color
Boolean
Select yes to have Adams View automatically choose colors to distinguish the new simulation results from the old.
Select no to use either line type or thickness to distinguish the results.
old_color
Existing Color
Specifies a color to indicate the existing simulation data.
new_color
Existing Color
Specifies an existing color to use to indicate the new simulation data.
distinguish_by_line_type
Boolean
Select yes to have Adams View automatically choose line thickness to distinguish the new simulation results from the old.
Select no to use either thickness or color to distinguish the results.
old_line_type
Line Style
Selects a line type to indicate the existing simulation data.
new_line_type
Line Style
Select a line type to indicate the existing simulation data.
distinguish_by_thickness
Boolean
Select yes to have Adams View automatically choose line thickness to distinguish the new simulation results from the old.
Select no to use either color or thickness.
old_thickness
Real
Specifies a real number indicating the thickness of the line representing the existing simulation data. The weight values are in screen pixels.
new_thickness
Real
Specifies a real number indicating the thickness of the line representing the new simulation data. The weight values are in screen pixels.
old_run_name
Existing Analysis
Sets the name of the simulation containing the existing simulation results that the curves you want operated on reference.
new_run_name
Existing Analysis
Sets the name of the simulation containing the simulation results to be added.

Extended Definition:

1. Plot names are assigned when plots are created. After a plot has been created, you can reference it by its name until it is deleted. A plot cannot have the same name as another plot.
2. Line types available are:
solid _______________
dash _ _ _ _ _ _ _ _
dotdash . _ . _ . _ . _
dot . . . . . . . .
Select none to have the line invisible.