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

xy_plots template replace_simulation

Allows you to update curves from one analysis on a plot with new data from another analysis.

Format:

 
xy_plots template replace_simulation
plot_name =
existing plot
old_run_name =
existing analysis
new_run_name =
existing analysis

Example:

 
xy_plots template replace_simulation &
plot_name =
plot_1 &
old_run_name =
last_run &
new_run_name =
my_sim

Description:

 
Parameter
Value Type
Description
plot_name
Existing Plot
Specifies name of an existing plot.
old_run_name
Existing Analysis
Specifies name of analysis which is to be replaced.
new_run_name
Existing Analysis
Specifies the name of the simulation containing the new simulation results.

Extended Definition:

A string of characters that identifies an existing plot. 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.