Adams Basic Package > Adams View > View Command Language > xy_plots > xy_plots bode magnitude_plot lse_input

xy_plots bode magnitude_plot lse_input

Allows you to define a Bode plot (phase, magnitude, or both, depending on the command) using ABCD matrices encapsulated in an Adams Linear state equation system element.

Format:

 
xy_plots bode magnitude_plot lse_input
plot_name =
existing plot
page_name =
existing page
linear_state_equation =
existing lse
inputs =
integer
outputs =
integer
start_frequency =
real
end_frequency =
real
frequency_step =
real
log_samples =
integer
samples =
integer

Example:

 
xy_plots bode magnitude_plot lse_input &
plot_name =
plot_1 &
linear_state_equation =
lse_1 &
start_frequency =
1800 &
end_frequency =
2500 &
frequency_step =
250

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.
linear_state_equation
Existing LSE
Specifies the linear state equation to be plotted.
inputs and outputs
Integer
Specifies the input and output results you would like to use for bode plot calculations. If you do not select any inputs or outputs, Adams View computes all combinations.
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 the 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.