21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

postglobalplot<br />

Purpose<br />

postglobalplot<br />

Plot globally defined expressions, such as solutions to ODEs.<br />

Syntax<br />

Description<br />

postglobalplot(fem,expr,...)<br />

h = postglobalplot(fem,expr,...)<br />

postglobalplot(fem,expr,...) is the plot function for globally defined<br />

expressions, such as ODE solution variables.<br />

The input expr contains the expressions to plot. It must be a string or a cell array<br />

of strings.<br />

h = postglobalplot(fem,expr,...) additionally returns handles or a postdata<br />

structure (depending on the value of the property Outtype) to the plotted objects.<br />

Valid property/value pairs for postglobalplot are given in the following table.<br />

TABLE 1-27: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY NAME PROPERTY VALUE DEFAULT DESCRIPTION<br />

Const cell array Definition of constants<br />

Lincolor colorspec | cell array cycle Line color<br />

of colorspec<br />

Linewidth numeric 0.5 Line width<br />

Linlegend off | on off Color legend<br />

Linmarker marker specifier | cell none Line marker<br />

array of marker<br />

specifiers<br />

Linstyle symbol | cell array of '-'<br />

Line style<br />

symbols<br />

Linxdata string Line x-axis expression<br />

Markersize integer 6 Size of markers<br />

Outtype handle | postdata handle Output type<br />

Phase scalar 0 Phase angle<br />

Solnum integer vector | all | all<br />

Solution number<br />

end<br />

T vector Times for evaluation<br />

U<br />

solution object or<br />

vector<br />

fem.sol or 0 Solution for evaluation<br />

In addition, the common plotting properties listed under femplot are available.<br />

340 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!