The PLOT1D program is a general purpose single/multiple line plot package. The PLOT2D program is a general purpose 2D image displaying package. It provides various TV, SURFACE, and CONTOUR plot for 2D array. It allows the user dynamically reset the plot title, margins, surface plot viewing angles, X, Y labels, color scheme and generate the PostScript plot.
The high quality interactive plot pacakge of IDL 6.1 ITOOLS in PLOT1D and PLOT2D are also accessible through readascii package.
A standalone IDLVM 6.1 license free version of readascii is accessible from readascii.sav
source /usr/local/rsi/idl_6.1/bin/idl_setupIn order to access IDL programs installed in the local epics/extensions/bin and epics/extensions/idllib, a user has to make sure that the following two environment variables are set before invoking IDL :
setenv EPICS_EXTENSIONS /usr/local/epics/extensions setenv IDL_STARTUP $EPICS_EXTENSIONS/idllib/viewer_startup.proand make sure the directory /usr/local/epics/extensions/bin/$EPICS_HOST_ARCH is in his/her program search path.
idl IDL> wd_readasciiThis commnad will automatically load the wd_readascii.pro and other appropriate prgrams at runtime.
idlvm readasciiIf above method failed, a user has to download the readascii.sav first. Make sure IDL 6.1 is the default version for your system, then try the following method.
idl -vm=/full-dir-path/readascii.savwhere /full-dir-path/ specifies where the readascii.sav resides.
File Pop up file selection dialog with default type '*txt*' or '*im*' Filname Field Display filename currently selected ASCII... Pop up a scroll window display the content in filename 1D/2D Droplist Set X,Y line numbers according to 1D/2D data Close Exit WD_READASCII program Data Control Fields Y Axis Line # Specify line seq number which contains Y values Data Start Line Specify data start line seq number Total Data Lines Specify totol lines to be read, leave blank for all Comment Char Specify comment character for ignored line X Axis Column # Specify column seq number which contains X values Data Start Column Specify data start column seq number Total Data Columns Specify totol columns to be read, leave blank for all Accept Accept control field values and append array table Transpose Transpose table columns and rows PLOT1D... Plot selected columns or rows PLOT2D... Plot table as 2D image array HELP... Display online help Step#/Values 1D/2D plot axis use step # or real values
As shown in this text window: the lines start with ';' at column 1 treat as comment the 4th line (i.e. seq # 3) contains the Y values, the 1st column (i.e. seq # 0) contains the X values, the data array starts from 8th (i.e. seq # 7) line and 3rd (i.e. seq # 2) column.As shown in above main window, the column and row controls fields must reflect the actual zero based data seq # in the text file.