Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots bode both_phase_and_magn tfsiso_input

xy_plots bode both_phase_and_magn tfsiso_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using a transfer function.

Format:

 
xy_plots bode both_phase_and_magn tfsiso_input
plot_name =
existing plot
page_name =
existing page
transfer_function =
existing tfsiso
start_frequency =
real
end_frequency =
real
frequency_step =
real
log_samples =
integer
samples =
integer

Example:

 
xy_plots bode both_phase_and_magn tfsiso_input &
plot_name =
plot_1 &
transfer_function =
TFSISO_1 &
start_frequency =
1500 &
end_frequency =
2000 &
frequency_step =
150

Description:

 
Parameter
Value Type
Description
plot_name
Existing Plot
Specifies the name of the Bode plot to be updated.
page_name
Existing Page
Specifies the name of the Bode page that the plot is on.
transfer_function
Existing TFSISO
Specifies the transfer function to be plotted.
start_frequency and end_frequency
Real
Defines the frequency sweep by entering the starting and ending frequencies for the bode plot and selecting the frequency step, which you define using one of next three parameters.
frequency_step
Real
Specifies the interval between frequencies.
log_samples
Integer
Specifies the number of log-spaced frequencies.
samples
Integer
Specifies the number of linear-spaced frequencies.