The programs that are used for PostScript plotting of general floating point data (data without SU headers) are
Again, you may create binary data to test these programs by stripping off the headers of some suplane data.
% suplane | sustrip > data.bin n1=64 n2=32 d1=0.004000 nt=64 ntr=32 dt=0.004000 ns=64The dimensions of the data are n1=64 samples per trace by n2=32 traces.
% pscontour < data.bin n1=64 n2=32 title="contour" > data1.eps % psimage < data.bin n1=64 n2=32 title="image" > data2.eps % pscube < data.bin n1=64 n2=32 title="cube plot" > data4.eps % pswigb < data.bin n1=64 n2=32 title="bitmap wiggle trace" > data3.eps % pswigp < data.bin n1=64 n2=32 title="wiggle trace" > data4.eps % psmovie < data.bin n1=64 n2=32 title="movie" > data5.epsThe output files contain Adobe Level 2 Encapsulated PostScript. You should be able to view these files with any standard X-windows PostScript previewer (such as ``ghostview'').
Please note, that the output from ``psmovie'' may not work on your system. This output works under NeXTStep, but is multi-page Encapsulated PostScript, which is not generally supported by PostScript devices.
To test psgraph, make an ascii file containing a double column listing of pairs of data to be plotted such as the following
1 1 2 1.5 3 3 4 8 10 7Call this file ``data.ascii'' Then use ``a2b'' to convert the file to binary and then plot it with psgraph
% a2b < data.ascii n1=2 > data.bin n=5 % psgraph < data.bin n=5 > data6.epsNote that the ``n=5'' that is echoed by a2b is the same as the input to psgraph. This permits the following trick to be used
% a2b < data.ascii outpar=junk.par n1=2 > data.bin % psgraph < data.bin par=junk.par > data6.epsto yield the same output.