VCS Example: Modifying Isofill Attributes     


Description

The Isofill graphics method fills the area between selected isolevels (levels of constant value) of a two-dimensional array with a user-specified color. This example shows how to display an isofill plot on the VCS Canvas, how to create and remove isofill isolevels, and how to display and modify the fillarea attribute `Tf'.

Step 1: 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 modified in this example.

Use this newly created `Isofill' attribute set name and the Template Panel's `default' attribute set name in the chosen picture descriptor form located in Page Description Panel. 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 `tas' variable in this Panel's `Variables' scroll window and double-click the left mouse button. The data set attribute name `tas (3D)' will appear in the red Data Panel above.

In order to display the data, move the pointer over `tas (3D)' in the red Data Panel, and click the middle mouse button. Then move the pointer to the chosen red input text window in the picture descriptor form and click the middle mouse button. This action will plot the `tas (3D)' data with the Isofill graphics method on the VCS Canvas. (See the Example on Creating Plots by Different Graphics Methods).

Step 2: Accessing the Isofill Editor Panel

Scroll down the window of the blue Isofill Graphics Method Panel until the `example' string is visible, then select `example' with the left mouse button. (If `example' is selected with the middle mouse button, VCS will copy `example' into its copy buffer; if `example' is selected with the right mouse button, VCS will delete `example' from the list.) The Isofill Editor Panel will appear below. Scroll this Panel to the bottom.

Step 3: Accessing the Isofill Value Panel

The Isofill Value Panel allows the creation and modification of isolevels. Select the green `Modify Isofill Values' button on the Isofill Editor Panel. The Isofill Value Panel then will appear in front of the Isofill Editor Panel.

Step 4: Generating Isolevels

To generate isolevels, enter the increment number (e.g., 2) in the Isofill Value Panel's `Increment' input text window, enter the beginning isolevel value (e.g., -30) in the `Start' input text window, and enter the last isolevel value (e.g., 30) in the `End' input text window . Then select the green `Generate' button with the left mouse button--the isolevel values will be generated below. Select the red `Apply' button to register the results on the VCS Canvas.

Step 5: Modifying the Fillarea Attribute

To modify the Fillarea attribute, select the first green `Tf' button in the Isofill Value Panel.( If the green `Tf' button is not visible, then scroll the window to the right.) The Fillarea Editor Panel will appear above the Isofill Value Panel. Modify the `Interior Style' to `Hatch', and select the red `Apply' button to register the results on the VCS Canvas. (See Hints on the Fillarea Editor Panel for futher instructions on modifying Fillarea attributes.)

Step 6: Modifying an Isolevel

For the isolevel `-30' to `-28', change `-30' to `-40'. Select the red `Apply' button to register the results on the VCS Canvas.

Step 7: Deleting an Isolevel

To delete an isolevel, select the first red `Delete' button in the Isofill Value Panel. (If the red `Delete' button is not visible, scroll the window to the right.) The isolevel will be removed. Select the red `Apply' button to register the results on the VCS Canvas.

Step 8: Deleting all Isolevels

To delete all generated isolevels, select the red 'Delete All' button in the upper right porton of the Isofill Value Panel.

Step 9: Changing the Fillarea Attibute

Access the Fillarea Table Panel (via Main Menu: `Basic' -> `Fillarea Table (Tf)'). Move the pointer over the olive green scroll window and select `default' with the middle mouse button. Then move the pointer over the first olive green input text window in the Isofill Value Panel and click the middle mouse button. The `default' text string will replace the previous string. Select the red `Apply' button to register the results on the VCS Canvas.


Last update December 12, 1996. 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