%
% This file shows how to export the plots as PostScript, so that they
% can be imported into a LaTeX document or translated to PNG, or
% otherwise...

% Invoke our script that creates a plot
plotting

%
% Set up the graphics format to PostScript
%
gset term postscript


%
% Set up the file for the PostScript graphics
%
gset output "regression.ps"


% Send the graphics to the file
replot

%
% Check that you have a file regression.ps in the current folder
%
