Plotting and generating a section of an ASCII-1d spectrum

Similar  with fits files we can also graphically display the spectrum from a 1d spectrum in ASCII format (.dat, .csv, Colums named WAVE and FLUX) and generate an arbitrary selection. The result of the script (download here) is a graph of the complete spectrum and the generated section  as well as a .dat file of the generated section, named accordingly.PlotAnCrop_1d_ascii