plot phase versus frequency - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : Plotting and Graphical Tools : DynamicSystems/PhasePlot

DynamicSystems[PhasePlot] - plot phase versus frequency

Calling Sequence

PhasePlot(sys, opts)

Parameters

sys

-

System; system object to plot

opts

-

(optional) equation(s) of the form option = value; specify options for the PhasePlot command

Description

• 

The PhasePlot command plots the phase versus frequency of the transfer function of a subsystem of sys, a System object.

• 

If sys is a continuous system, its s-domain transfer function is computed and then converted to the real frequency domain using the transformation s -> I*omega, where omega is the angular frequency.

• 

If sys is a discrete system, its z-domain transfer function is computed and then converted to the real frequency domain using the transformation z -> exp(I*omega*Ts), where omega is the angular frequency and Ts is the sample time.

• 

The PhasePlot command uses the plot option axis to assign a logarithmic scale to an axis. This feature does not work with the default plot driver used in the Classic Worksheet interface. To use this feature in the Classic worksheet interface, or with command-line Maple, use plotsetupmaplet. For details, see plot,device.

• 

The PhasePlot command takes all standard plot,options.

Examples

withDynamicSystems:

sys:=TransferFunction1s10:

PhasePlotsys

sys:=Coefficients1,1,4,3,1,2,1,2,3,4,2,1:

PhasePlotsys,color=red,green,title=System Responses

Plot selected subsystems. Note how the thickness and color options cycle independently.  This is the command to create the plot from the Plotting Guide.

PhasePlotsys,subsystem=1,1,2,1,3,1,hertz,thickness=1,1,2,color=red,green

See Also

DynamicSystems, DynamicSystems[BodePlot], DynamicSystems[MagnitudePlot], DynamicSystems[SystemObject]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam