% xy-ps.m tmp file
% Modified July 21, 1998 Use /home/data1/www/optserver so can use a makefile.  rcg

addpath /home/data1/www/optserver/optbin

loadjg('${OBJ}','NaN');
xopt='${xopt}';
yopt='${yopt}';
sym='${sym}';

plot(${xvar},${yvar});
title('${title}','fontsize',16);
if(xopt(1:3)=='rev')
  set(gca,'XDir','reverse');
  end
if(strcmp(xopt,'log') | strcmp(xopt,'rev/log'))
  set(gca,'XScale','log');
  end
if(yopt(1:3)=='rev')
  set(gca,'YDir','reverse');
  end
if(strcmp(yopt,'log') | strcmp(yopt,'rev/log'))
  set(gca,'YScale','log');
  end

xlabel('${xvar}','fontsize',14);
ylabel('${yvar}','fontsize',14);

print -dps temp0.ps
unix('cp /home/data1/www/optserver/optbin/sendps  ${USETEMPDIR}/sendit');
exit
