WRITESPEC,<SpecFile>,<Num1>, … ,[Num50]
Writes line object(s) data into a Spectrum file format. Up to 50 line can be written to a single file using this command. Each line stored in the file will have points generated for x-values from all of the line objects. Linear Interpolation is used when finding values for line objects between points defined by the data. Extrapolation will use the y-value first or last defined point of the line object.