The routine stack_plot_spectrum lets you plot a spectrum which was written as a .xas file by stack_analyze:
IDL> stack_plot_spectrum,'myfile.xas' IDL> stack_plot_spectrum,'myfile.xas',smoothing=3,/over,epsfile='myfile.eps' IDL> stack_plot_spectrum,'myfile.xas',giffile='myfile.gif'where in the second example the plot will be written to a EPS file, the curve will be smoothed by a box of width 3, and the raw data will be overlaid on the curve. In the third example, a GIF image of the spectrum will be created.