Here are some examples of how to use the gset command in plotting and preparing PostScript print files of plots, etc.

gset nokey  % gets rid of legend
xlabel('time')
ylabel('amplitude')
plot(x,y);

gset terminal postscript           % the font may be too small
gset terminal postscript eps 35    % 35 is a good font size
system('rm deleteme.eps');         % if writing script, may want to delete past
gset output 'deleteme.eps';

gset terminal x11                  % sets it back to normal when you're done