plot_vs()

Attaches an independent to data for plotting

Syntax
y = plot_vs(dependent, independent)

Arguments
Name Description Range Type Required
dependent any N-dimensional square data (all inner independents must have the same value N) (-∞, ∞) integer, real, complex yes
independent independent variable (-∞, ∞) integer, real yes

Examples

a = [1, 2, 3]
b = [4, 5, 6]
c = plot_vs(a, b)
The first example above builds c with independent b, and dependent a

In the next example, assume that an S-parameter analysis has been performed with one swept variable Cval (of say 10 values) for 20 frequency points. The dependent data dbS11=db(S11) is of 2 dimension and Dependency of [10, 20]. A standard plot would display dbS11 vs freq(the inner independent), for 10 values of Cval.
Instead to plot dbS11 vs Cval, the plot_vs() function can used as follows:
plot_vs(dbS11, Cval)

To plot dbS11 for half the values of Cval:
CvalH = Cval/2
plot_vs(dbS11, CvalH)

The last example below assumes that a DC analysis has been performed with two independent variables, Vgs and Vds, and Ids.i as the dependent variable. To see a plot of Ids vs Vgs for different values of Vds the data can be plotted as follows:
plot_vs(Ids.i, Vgs)

Defined in

$HPEESOF_DIR/expressions/ael/display_fun.ael

See Also

indep(), permute(), vs()

Notes/Equations

When using plot_vs(), the independent and dependent data should be the same size (i.e., not irregular). This function works as follows:

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources