VCS Example: Modifying XvsY Attributes     


Description

The XvsY graphics method displays a line plot from two 1D data arrays, that is X(t) and Y(t), where t represents the 1D coordinate values. This example shows how to change line and marker attributes for the XvsY graphics method.

Step 1: Displaying Data with the XvsY Graphics Method

Access the blue XvsY Graphics Method Panel (via Main Menu: `Primary' -> `Graphics Table' -> `XvsY'). Note, VCS does not allow the modification of any `default' attribute sets. Therefore, select the XvsY `default' attribute set with the middle mouse button. Then move the pointer over the XvsY 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 XvsY attribute set name (e.g., `example') and select the `Save' button. The `example' attribute set name will appear in the blue XvsY Graphics Method Panel. This is the XvsY attribute set that will be modified in this example.

Use this newly created XvsY attribute set name and the Template Panel's `default' attribute set in the chosen picture descriptor form located in the Page Description Panel. Then select the example.nc file in the Data Selection Panel, move the pointer over the `u' variable in this Panel's `Variables' scroll window, and double-click the left mouse button. Repeat this procedure for the `v' variable. The data set attribute names `u (4D)' and `v (4D)' will appear in the red Data Panel above.

In order to display the data, select `u (4D)' 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. Do the same for the 'v (4d)' variable, after first scrolling the Page Description Panel leftward to reveal a second red input text window in the picture description form. These actions will plot the two data sets by the XvsY graphics method on the VCS Canvas. (Because of the large size of the data sets, there may be a substantial wait time to view the display.) See also the Example on Creating Plots by Different Graphics Methods.

Step 2: Accessing the XvsY Editor Panel

Scroll down the blue window of the XvsY Graphics Method Panel and select `example' with the left mouse button. The XvsY Editor Panel will appear below. Scroll the panel to the bottom, so that the `Tm' input text window is visible.

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 XvsY 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 XvsY 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