06.11.2013 Views

The Basis System - Weapons and Complex Integration - Lawrence ...

The Basis System - Weapons and Complex Integration - Lawrence ...

The Basis System - Weapons and Complex Integration - Lawrence ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

49.2 plotc: Plotting Contours<br />

Calling Sequence<br />

plotc ,,,,<br />

plotc ,<br />

Description<br />

plotc is a mesh-oriented comm<strong>and</strong>.<br />

49page 47.<br />

For general information, see the chapter introduction on<br />

<strong>The</strong> plotc comm<strong>and</strong> plots a contour map of fexpr above the mesh described by xexpr <strong>and</strong> yexpr.<br />

fexpr is a two-dimensional array of values dimensioned the same as xexpr <strong>and</strong> yexpr. If specified,<br />

xexpr is an array of x-axis values, yexpr is an array of y-axis values, ireg is a region map, <strong>and</strong><br />

¡keylist> is a list of optional keywords <strong>and</strong> values. Strides in krange or lrange are ignored by<br />

plotc.<br />

If plotc arguments are omitted, they are supplied by using the names in the variables ezcx, ezcy,<br />

<strong>and</strong> ezcireg, respectively. Default values for these names are zt, rt, <strong>and</strong> ireg.<br />

fexpr can also be the name of a function or macro which, when called with no arguments, returns<br />

a two-dimensional array of values of the appropriate shape.<br />

Optional Attributes<br />

<strong>The</strong> following optional attributes can be specified with this comm<strong>and</strong>. For object attributes, they<br />

are local to the comm<strong>and</strong> specified, i.e. they are not remembered across comm<strong>and</strong>s.<br />

grid, scale, thick, style, font, mark, marksize, lev, color, krange, lrange,<br />

region, legend, point<br />

If optional attributes are given on the plot comm<strong>and</strong> line, they are specified in the usual form:<br />

key1=value1,key2=value2,...,keyN=valueN<br />

To set an object attribute across comm<strong>and</strong>s use the attr comm<strong>and</strong>. 47.3See “Attribute Table” on<br />

page 31 for descriptions of the values which can be assigned to these keywords.<br />

Although it is recognized, the font attribute currently has no effect.<br />

Contour Levels,Colors, etc.<br />

<strong>The</strong> discussion of the comm<strong>and</strong> plotz (48.2see Section 6.2 ”plotz: Plotting Contours” on<br />

page 39) contains a detailed explanation of the way contour levels <strong>and</strong> colors are specified. <strong>The</strong><br />

discussion there applies to plotc as well.<br />

<strong>The</strong> primary difference between plotc <strong>and</strong> plotz is that the former is a mesh-oriented comm<strong>and</strong>.<br />

This means that only the plotz mesh data discussion applies to plotc. Furthermore,<br />

because of the underlying mesh <strong>and</strong> the associated region map, the plotc comm<strong>and</strong> has the possibility<br />

of controlling the subregion over which contours are displayed by use of attributes krange,<br />

lrange, region.<br />

248 Chapter 49. Mesh-Oriented Comm<strong>and</strong>s

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

Saved successfully!

Ooh no, something went wrong!