VCS Example: Exercising VCS Canvas Options-- Generating Multiple Plots, Using Portrait Mode, and Deferring Displays     


Description

This example shows how to create multiple plots on the VCS Canvas. In the course of doing so, the display and printing of plots in the "portrait" orientation (i.e., height exceeding width) is demonstrated. Finally, it is shown how to defer the updating of graphical displays until a later time, a useful option when generating templates or displaying numerous plots.

Step 1: Creating Picture Descriptor Forms

To create a new picture descriptor form, move the pointer over the `Options' menu button in the Page Description Panel, and hold down the left mouse button. Then move the pointer over the `Picture' menu item while continuing to hold down the left mouse button. Next, move the pointer over the `Create' pull-right menu item and release the left mouse button. A new picture descriptor form will appear in the Page Description Panel's form list.

Repeat the above procedure to create another picture descriptor form. (Three picture descriptor forms are required in this example.)

Step 2: Changing the VCS Canvas Orientation

Change the VCS Canvas orientation from "landscape" (width exceeding height) to "portrait" (height exceeding width) via Main Menu: `Canvas' -> `Portrait'.

Step 3: Displaying Data with the Isofill Graphics Method

Access the blue Isofill Graphics Method Panel (via Main Menu: `Primary' -> `Graphics Table' -> `Isofill'). Note, VCS does not allow the modification of any `default' attribute sets. Therefore, move the pointer over the Isofill `default' attribute set name and click the middle mouse button. Next, move the pointer over the Isofill menu button, and press and hold the left mouse button. Then move over the `Copy' item and release the left mouse button--a popup window will appear. Enter a new Isofill attribute set name (e.g., `example'), and select the `Save' button. The `example' attribute set name will appear in the blue Isofill Graphics Method Panel. This is the new Isofill attribute set that will be utilized in this example.

Use this newly created Isofill `example' attribute set name and the Template Panel's `por_topof3' attribute set name in the first picture descriptor form located on the Page Description Panel. Also use this Isofill `example' set together with the Template Panel's `por_midof3' attribute set name in the second picture descriptor form. Finally, use this Isofill `example' set together with the Template Panel's `por_botof3' attribute set name in the third picture descriptor form.

Move the pointer over the example.nc file in the Data Selection Panel, and click the left mouse button. Then move the pointer over the `pr' variable in this Panel's `Variables' scroll window and double-click the left mouse button. The data set attribute name `pr (3D)' will appear in the red Data Panel above.

Repeat the above procedure for the `psl' and `tas' variables. The red Data Panel then should contain three data set attribute names: `pr (3D)', `psl (3D)', and `tas (3D)'.

In order to display the data, move the pointer over `pr (3D)' entry in the red Data Panel, and click the middle mouse button. Then move the pointer to the red input text window in the first picture descriptor form and click the middle mouse button. This action will plot the `pr (3D)' data with the Isofill graphics method on the VCS Canvas.

Repeat the above step for the `psl (3D)', and `tas (3D)' data set attribute names, placing them in the second and third picture descriptor forms, repectively. Their plots then will also appear on the VCS Canvas.

See also the Example on Creating Plots by Different Graphics Methods).

Step 4: Saving the Output File and Printing in Postscript

Access the CGM Panel (via Main Menu: `File'-> `Save CGM') and create a CGM file (e.g., example.cgm). Then access the Print CGM Panel (via Main Menu: `File'-> `Print CGM') and change the `Printer Orientation' to `Portrait' before sending the plot to the printer.

See also the Example on Printing CGM files.

Step 5: Deferring the Updating of the Graphical Displays

Move the pointer over the `Options' menu button, in the Page Description Panel, and hold down the left mouse button. Then move the pointer over the `Update' menu item while continuing to hold down the left mouse button. Next, move the pointer over the `Manual' pull-right menu item and release the left mouse button.

Then switch `Off' the first picture descriptor form in the Page Description Panel by selecting its green `On' button--nothing will change on the VCS Canvas. Next, move the pointer over the `Options' menu button, in the Page Description Panel, and hold down the left mouse button. Then move the pointer over the `Update' menu item while continuing to hold down the left mouse button. Next, move the pointer over the `Now' pull-right menu item and release the left mouse button--the VCS Canvas is now updated.

Repeat this procedure, experimenting with the use of the `Automatic' vs `Manual' updating modes.


Last update January 28, 1997. For further information, contact: Dean N. Williams (vcs@pcmdi.llnl.gov)
This page is maintained by Anna McCravy (mccravy@pcmdi.llnl.gov)
 and LLNL Disclaimers
UCRL-MI-122789