Visit quick start

From Core Physics Wiki
Jump to: navigation, search

The following is a quick introduction to Visit:

Creating Plots

  1. Install Visit on your sytem. Pre-compiled binaries can be downloaded from the Visit website
  2. Start Visit
  3. In top left corner, select File --> teapot.vtk --> Open
  4. Visit will show a blank screen. Next Select the "Add" botton about half-way down on the left side of the screen (part of "Plots" menu). This will bring up a pull-down menu, select "Pseudocolor", then the dataset "X-coordinate". You should see the text "Pseudocolor - X-dimension" displayed in green text. There will still be no plot shown.
  5. Select the "Draw" button above the green text (in the "Plots" menu). This will display the plot of the Teapot. You can now select the plot, and rotate the image.
  6. There are two ways to select a different dataset. The first way is to select "Delete" from the "Plots" menu, then repeat steps 4 and 5 with a new dataset name (e.g. choose "Z-coordinate" instead of "X-coordinate"). The second way is to enlarge the main menu window on the right hand side. After you do this, a "Variables" option should show up in the "Plots" menu. The "Variables" button will let you choose different datasets.

Controlling Output

  1. To turn off some of the output in the plot window, select "Controls --> Annotation" from the menu at the top. This will open a new window.
    1. Unselect the "User Information" box to turn off the information in the lower right corner.
    2. Unselect the "Database" box to turn off the file name
    3. Select "Apply" in the lower left corner
    4. To turn off the grid lines, select the "3D" tab at the top of the "Annotation" window. Unselect the "Show axes" box. Unselect the "Show bounding box". Select "Apply" in the lower left corner.

Screen Shots

  1. To create a screen shot of the plot, select "File --> Save Window" from the main window. This will create a file called "visit0000.png".

There are many different things you can do with the datasets. This tutorial just gives the bare minimum.