Encyclopaedia Index

Contours in the VR Viewer

In the VR Viewer contours are controlled through the Contour Toggle and Contour Options dialog, reached by left or right clicks on the icon.

Contours in PHOTON

CONTOUR CLEAR

------------------------------ Photon Help ----

CON[tour] CL[ear]....deletes all contour elements, whether switched on or off.

See also : CONTOUR DELETE, CONTOUR OFF, CONTOUR ON


CONTOUR command in PHOTON

Contours may be plotted in PHOTON by use of the CONTOUR command, which has the form:

CON[tours] <variable> <plane> <number> <subregion> <options>

Examples are:

con p1 iz 4 ix 3 10 iy 5 32 fi; 0.001
which plots contours of:
con tem1 iy 5 sh; int 12
which plots contours of:

CONTOUR DELETE

----------------------------- Photon Help ----

CON[tour] DEL[elete]....deletes the last contour element, whether switched on or off.

See also : CONTOUR CLEAR, CONTOUR OFF, CONTOUR ON


CONTOUR FILL command

The FILL option of the CONTOUR command produces colour-filled contours, with the colour ranging from blue to red. You use the SET CONTOUR FILL command to select which method you use to perform the contour filling.
There are three methods available: SIZE, NUMBER and DEPTH. The default method is SIZE.


Contour No.

-------------------------------- Photon Help ----

[Contour No.] is the sequence number of the CONTOUR element in the stack. Typing in any valid number (the total number of CONTOUR element) will pop up the corresponding CONTOUR element and make it current. Only the attributes of the current CONTOUR element can be modified.


CONTOUR OFF

-------------------------------- Photon Help ----

CON[tour] OF[f] <element range>....switches off the specified contour element(s). It will not appear in subsequent plots until switched on again.

See also : CONTOUR ON


CONTOUR ON

--------------------------------- Photon Help ----

CON[tour] ON <element range>....switches on the specified contour element(s). It will then appear in subsequent plots.

See also : CONTOUR OFF


Contour options

You can use the DASH and COLOUR options for CONTOUR plots. Other options for CONTOUR include SHADE, and FILL.


Contour range,specification of

After you issue a CONTOUR command, you need to specify to PHOTON the range of values to be plotted, and the number of intervals you require in this range.

There are four ways in which you can provide this information:

An example of a complete contour command is:

Command?-> con p1 Ix 1 IY 1 7 Whole field range of values is 0.1 to 10.44 Plane range of values is 0.1 to 10.44 Range and number of intervals?-> INT 12

which plots, over part of the IX=1 plane, 12 equally-spaced contour levels of P1 over the whole range of pressures. The following alternative response to the second prompt:

Range and number of Intervals?-> VAL 4

causes prompts for 4 individual contour values.


CONTOUR SHADE command

You use the SHADE command in PHOTON to produce coloured contours, in which the colours range from blue (minimum values) to red (maximu values).


Contour-plot levels,print-out of

(see ICHR integer, Group 23)


CONTOURS

----------------------------------- Photon Help ----

CON[tours] <variable> <plane> <number> <subregion> <options>.... plots contours of the variable specified over a plane, or subregion of the plane. A subregion consists of the extent of the grid in the other two coordinate directions, and either or both may be omitted if the total extent in that direction is to be used. For example,

CON P1 Y 1 Z 7 M

will contour variable P1 over the Y 1 plane, for all cells in X, and cells 7 to the maximum in Z. NOTE the use of M to denote the maximum grid extent.

Options available are SHADE, which produces coloured contours, with colours ranging from blue (minimum values) to red (maximum values) and FILL, which produces colour-filled contours; DASH, which plots contours as dotted lines (available dash types are 1-3). For example,

CON P1 Y 1 Z 7 M DASH 1

will perform the same as the last example, but with contours plotted as dashed lines.

The program will prompt for the number and range of contours to be plotted. These may be specified in 4 ways:

  1. the upper and lower bounds, and number of values, e.g. 100 200 10;
  2. INT <n> to give n contours equally spaced over the whole range;
  3. VAL <n> to allow you to enter n individual values; and
  4. OLD to use the previous setting.

See also : CONTOUR CLEAR, CONTOUR DELETE, CONTOUR OFF, CONTOUR ON


CONTOURS

----------------------------------- Photon Help ----

[Contours] activates the contour sub-menu to set a new contour element to be drawn.


Contours,plotting of

(see CONTUR real flag, Group 23)


wbs