Web plotting tools like mdsplotfileinput.php allow inputs for the signals and Y-limits to come from a file. These files will be read from the workstation running the browser using embedded php code and Javascript.
You can create an input file for possible editing and future use by:
These input files can be also be created in a text editor or saved as a tab-delimited text files in Excel. The lines that contain the signal names can have 1, 2, or 3 columns, which are an expression containing MDSplus signals, optionally followed by the minimum and maximum Y values of that plot. Lines starting with "#" or "//" are ignored. E.g.
sh1=142000+2 \wf::ip 0.0 1000. // subtract off 60 for background: \cameras::ph7_5_favg-60 0 150 t1=0.2 t2=0.5 colors=['red','blue','green'] lines=[0,2,2]
NOTE THAT YOU NEED A <CR> AT THE END OF THIS INPUT FILE.
The user may edit the entries after they have been loaded from a file, or not use a file at all.
MDSplus Scope or jScope input files can be converted to the tab-delimeted text files used by plotting tools like mdsplotfileinput.php by using the IDL routine mk_wtinputfile.pro. E.g.
IDL> mk_wtinputfile, 'mydiag.scope', 'mydiag.txt'
If you have comments or questions about this page, please send e-mail to nstxops