<< plotsurf sciFLT printrule >>

sciFLT >> sciFLT > plotvar

plotvar

Plot a fls input(s) or output(s) variable(s)

Calling Sequence

plotvar( fls, inpout, var_number [,y_lower_limit,y_upper_limit [,npt]] )

Parameters

fls:

fls structure.

inpouts:

string. "input" for input variable or "output" for output variable.

var_number:

vector. The input/output variable to plot.

y_lower_limit:

a real scalar (default value = -0.1)

y_lower_limit:

a real scalar (default value = 1.1)

npt:

scalar. Number of domain partitions.

Description

plotvar plot the member function of input or output variable from the fls structure. The parameter npt means the number or partitions of the variable domain (the default value is 101 partitions);

Examples

// READ A FLS
fls=loadfls(flt_path()+"demos/fan1.fls");
// Plot inputs variables with 1001 partitions
scf();clf();
plotvar(fls,"input",[1 2],-0.1,1.1,1001);

// Plot output variable with default values
scf();clf();
plotvar(fls,"output",1);

See also

Authors


Report an issue
<< plotsurf sciFLT printrule >>