RPLOT
an Interactive Utility to Access TRANSP Output
Elemantary Capabilities
- GENERATE TABLE OF CONTENTS (LIST OF SELECT NAMES)
- GRAPH SCALAR FUNCTIONS AND MULTIGRAPHS VS. TIME
- GRAPH FUNCTIONS OF TIME AND ADDL. COORDINATE
- DRAW A PROFILE MULTIGRAPH
- View COMMENTS and/or examine NAMELIST values
- ADD/DELETE A SCALAR OR PROFILE MULTIGRAPH PACKAGE
- CHANGE THE NAME (OR ABBREV.) OF A FUNCTION
- REDEFINE NON-TEMPORAL X AXES FOR PLOTTING
- SET SCALING DEFAULTS
- READ/EXTRACT UFILES TIME SERIES DATA FOR SCALAR MULTIPLOT
- [CALCULATOR] -- COMPUTE USER F(t), F(x,t), PLOT DATA
- [COMPARE] multigraph of single item, multiple runs.
- [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
- run the program:
- interactive
rplot
you will get a menu, guiding you
- type-ahead
- to read from disk:
rplot d '$ARCDIR/<tok>/<yy>' q <runid>
e.g.: rplot d '$ARCDIR/NSTX/05' q 117899A02 pheat
- to read from MDSplus Tree:
rplot t y <tok>.<yy> q <runid>
e.g.: rplot t y nstx.05 q 117899A02 pheat
- 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".
To Run at Other Sites:
- See PPPL obove.
But you probably won't have $ARCDIR, so you should read from MDSplus.
- You can also use Xtc
- PostScript:
You need tek2ps and tek2ps_sh in your $PATH and the location of tek2ps.pro
- tek2ps should be where rplot is
- tek2ps_sh and tek2ps.pro
- If you downloaded a NTCC module, follow instructions.
- TRANSP_LOCATION must be defined for tek2ps.pro
- tek2ps_sh is where rplot is installed, which must be in your PATH.
- If you have a transp distribution, CODESYSDIR and LOCAL should be defined.
- add $CODESYSDIR/csh and $LOCAL/exe to your PATH
Problems with xterm on your MAC?
Get Darwinports and install your own copy of xterm.
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
For Details see the Transp User Guide (pdf)
Send Comments and Questions to transp
Last modified: Wed Jun 18 17:13:05 EDT 2008