NSTX MDSplus Scope Plotting Tool - Details

This utility reads Scope files for a description of what to plot. These files must reside on the PPPL Unix Cluster in the $NSTXUSR/util/scopes/ directory. If your are associated with NSTX and you cannot copy your scopes to this area, send e-mail to UnixAdmin@pppl.gov and ask to be added to the "nstx" group.

To plot data from "canned" scopes, see mdsplot1.html. To plot data from individual signals, see mdssignals.html.

IMPORTANT FEATURE: Fields other than shot numbers will be be remembered when you return to the Scope Plotting page if your browser allows JavaScript and the use of Cookies. In Netscape:

  • Pull down the "Edit" menu.
  • Select "Preferences..."
  • Select "Advanced"
  • Make sure "Enable JavaScript" is checked.
  • Cookies are used, so check either "Accept all cookies" or "Only accept cookies originating from the same server as the page being viewed"
  • Click "OK"
This feature can be a problem if you are running multiple versions of the page. For many pages, a version with "_clean" inserted before ".html" will not use this feature.

While NSTX is "off" the default shot is just a test number, so use 112167, or something real. For tips on convenient shot entry methods, such as ranges of shots, offsets from the latest shot, etc., see ShotEntryHelp.html.

For 2-D data, a color contour is shown when only one shot is specified. When more than one shot is requested, only the first row of the 2-D data is plotted.

Some TDI expressions in the Scope files may NOT be handled properly, like multi-line TDI.

The median-smoothing window input is the number of points over which median smoothing takes place for a resulting value.

Selecting "Plot Labels from MDSplus" looks for a :LABEL sub-node, and then a :COMMENT sub-node. If neither is found, an abbreviation (the last two "leaves") of the signal name (or the TDI expression) is displayed.

If the entered # of rows times the # of columns is less than the number of signals, default values for the # of rows and columns will be used.

If you experience problems with this page, please send e-mail to idladmin@pppl.gov

Scope files can be transferred from VMS to $NSTXUSR/util/scopes/ on the PPPL Unix Cluster by scp. E.g.,

    scp <your VMS username>@europa.pppl.gov:<vms path to scope file>  $NSTXUSR/util/scopes/
    Password:(your VMS password)
Angle brackets are only used above to indicate your specific username and location, e.g.,
    scp bdavis@europa.pppl.gov:AUSER4:[BDAVIS]wf.scope  $NSTXUSR/util/scopes/
You will need to be in the group "nstx" on the Unix Cluster to put files in this directory (see above).

If you are coming in from outside PPPL, you may have to "authenticate" at our firewall at http://access.pppl.gov. Enter your PPPL Unix Cluster username and password, or SecureID number.

The server for this page runs continuously (and is restarted from a "cron job" at ~ 4 AM Eastern Time). If you experience problems with this page, please send e-mail to idladmin or submit a ServiceNow request at help.pppl.gov. In an emergency, you may be able to diagnose problems with the server).

Considering that the displayed plots are bit maps, color prints do not look too bad. Note that you may change the size of the plot window from the Web page -- this may work better than printing at 150%, etc.

For Publication Quality output, click the Postscript box to the right of the Plot button (no graph will be sent to your web browser when a Postscript option is selected). Note that Postscript may be edited in Adobe Illustrator or Canvas (see How can I make publication quality plots to place into Word and PowerPoint?

The default plot files are PNG (Portable Network Graphic) format. You may need to configure your browser to recognize these files. If you are prompted to Save the file, etc., browse for Quicktime, and select it.

Note that you can save the PNG file from your web browser and insert it into documents on your PC, Macintosh, etc. Be aware that bitmapped graphics are of much poorer quality than, say, Postscript.

When there are more than 5 shots being displayed, the colors for the shots will repeat. Alternately, you may specify colors in an IDL form. These are integers between 0-240 (the top 16 colors are reserved). You may specify an array of colors as you would on the right-hand side of an IDL statement, such as [20,40,60,80,100,120,140,160,180,200] or findgen(20)*10. When there are more shots than colors specified, the colors will repeat.

Edited 27-Oct-2009 by: Bill Davis