VCS Example: Modifying Xyvsy Attributes     


Description

The Xyvsy graphics method displays a line plot from a 1D data array, i.e. a plot of X(y) where y represents the 1D coordinate values. This example shows how to change line and marker attributes for the Xyvsy graphics method.

Step 1: Displaying Data with the Xyvsy Graphics Method

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

Use this newly created Xyvsy attribute set name and the Template Panel's `default' attribute set name in the chosen picture descriptor form located in the Page Description Panel. Select the example.nc file in the Data Selection Panel, move the pointer over the `psl' variable in this Panel's `Variables' scroll window, and double-click the left mouse button. The data set attribute name `psl (3D)' will appear in the red Data Panel above.

In order to display the data, select `psl (3D)' in the red Data Panel with 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 `psl (3D)' data by the Xyvsy graphics method on the VCS Canvas. (See the Example on Creating Plots by Different Graphics Methods).

Step 2: Accessing the Xyvsy Editor Panel

Scroll down the blue window of the Xyvsy Graphics Method Panel and select `example' with the left mouse button. The Xyvsy Editor Panel (see above figure) will appear below. Scroll the panel to the bottom, so that the `Tm' input text window is in view.

Step 3: Changing the Line Attribute

To change the line attribute, access the (Tl) Line Table Panel (via Main Menu: `Basic' -> `Line Table (Tl)'). Move the pointer over the cyan scroll window and select `std' with the middle mouse button. Then move the pointer over the cyan input text window in the Xyvsy Editor Panel and click the middle mouse button. The `std' text string will replace the `default' string. Select the red `Apply' button to view the results on the VCS Canvas.

See also Hints on the Line Editor Panel for further details on changing line attributes.

Step 4: Changing the Marker Attribute

To change the marker attribute, access the (Tm) Marker Table Panel (via Main Menu: `Basic' -> `Marker Table (Tm)'). Move the pointer over the brown scroll window and select `red' with the middle mouse button. Then move the pointer over the brown `Tm' input text window in the Xyvsy Editor Panel and click the middle mouse button. The `red' text string will replace the `default' string. Select the red `Apply' button to view the results on the VCS Canvas.

See also Hints on the Marker Editor Panel for further details on changing marker attributes.



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