RPLOT

an Interactive Utility to Access TRANSP Output

Elemantary Capabilities

  1. GENERATE TABLE OF CONTENTS (LIST OF SELECT NAMES)
  2. GRAPH SCALAR FUNCTIONS AND MULTIGRAPHS VS. TIME
  3. GRAPH FUNCTIONS OF TIME AND ADDL. COORDINATE
  4. LIST CONTENTS OF SELECT MULTIGRAPH PACKAGES
  5. ADD/DELETE A SCALAR OR PROFILE MULTIGRAPH PACKAGE
  6. DRAW A PROFILE MULTIGRAPH
  7. View COMMENTS and/or examine NAMELIST values
  8. QUIT (OR "Q")
  9. CREATE INDEX OF GRAPHS DRAWN SO FAR
  10. CHANGE THE NAME (OR ABBREV.) OF A FUNCTION
  11. REDEFINE NON-TEMPORAL X AXES FOR PLOTTING
  12. TABLE OF CONTENTS OUTPUT OPTIONS (subset selection and output redirection for options (1) and (4))
  13. PLOT THE PLASMA MHD EQUILIBRIUM
  14. SET SCALING DEFAULTS
  15. READ/EXTRACT UFILES TIME SERIES DATA FOR SCALAR MULTIPLOT
  16. [CALCULATOR] -- COMPUTE USER F(t), F(x,t), PLOT DATA
  17. [COMPARE] multigraph of single item, multiple runs.
  18. "A" [ALL_PLOT] generate script to plot ALL available items.

Table of TRANSP Contents

To Run from a Browser via Elvis:

To Run at PPPL:

  • module load ntcc
    (Note: you must first load a compiler)
  • define environment TERMINAL_TYPE
    • tcsh users
      • setenv TERMINAL_TYPE xterm
      • if you use Xtc, do insted: source $TRANSP_LOCATION/.xtcrc_csh
    • bash users
      • export TERMINAL_TYPE=xterm
      • if you use Xtc, do insted: . $TRANSP_LOCATION/.xtcrc
  • identify a run:
      you either enter
    • the <tokamak>.<year> and the 8 char runid
      or
    • the mdsplus pulse id (CMOD)
  • run the program:
    • rplot
      you will get a menu prompting you.
    • to read from PPPL disk:
      rplot d $ARCDIR/<tok>/<yy> q <runid>
      e.g.: rplot d $ARCDIR/NSTX/05 q 117899A02
    • to read from PPPL MDSplus Server:
      rplot t y <tok>.<yy> q <runid>
      e.g.: rplot t y NSTX.05 q 117899A02
    • to read from NON-pppl MDSplus Servers:
      • For convenience, define the environment variables MDS_TRANSP_SERVER and MDS_TRANSP_TREE
        e.g.: export MDS_TRANSP_SERVER=_atlas.gat.com
        e.g.: export MDS_TRANSP_TREE=transp
      • to read from CMOD MDSplus Tree
        rplot t s <Server> t <tree> n <MDS pulse number> q
        e.g.(if environment is defined): rplot t n 1070713005 q
      • to read from other MDSplus Tree:
        rplot t s <server> t <tree> y <tok>.<yy> q <runid>
        e.g.(if environment is defined): rplot t y D3D.09 q 136886A01
    • NSTX sample session

    • Exapmple to produce a template:
      at any time at a prompt enter:
      >filename
      from now on rplot will record your session in "filename".tmi till you enter:
      <
             e.g.:
             rplot t y NSTX.05 q 117899A02
             >my_template
                :
                :
             < 
      To run:
      rplot t y NSTX.09 q 133046P05 @my_template

    • Example for using a template with Variable Names: TokYr & RunId:
             To use Variable Names, enter 1st the Variable Name (in singel quotes)
             at re-prompt enter the actual Value: 
             e.g.:
             'RunId'
             117899A02
      
      See Template sample session
      To run:
      rplot @my_template/TokYr=NSTX.09/RunId=133046P05

  • To produce a PostScript file
    • Use Xtc
    • or
      • Define the Environment Variable PLOT
        e.g.: export PLOT=",foo.plt-ps"
        this will produce output to screen and to file foo.plt_ps
      • To actually write the data to the file, type "d" to "upause" after the beep.
        See SGLIB Help "Logical Variables".

    Customize RPLOT

      Set your Mdsplus Server and Tree by defining the environments:
    • MDS_TRANSP_SERVER
      e.g.: setenv MDS_TRANSP_SERVER atlas.gat.com
    • MDS_TRANSP_TREE
      e.g.: setenv MDS_TRANSP_TREE transp
    • RPLOT_CACHE
      if you are looking at the same run several times, set RPLOT_CACHE=TRUE







    Send Comments and Questions to transp_support

  • Page last updated: November 6th, 2023