help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recipe for PostScript...


From: Huaiyu Zhu
Subject: Re: Recipe for PostScript...
Date: Tue, 23 Jun 1998 14:53:26 -0600 (MDT)

Interesting recipe ... Here's the thing packaged:

Sometime ago I wrapped up these steps in the following .m file,
but did not realize it would be of general interest.  If you find 
it handy and pass it on, consider it GPL'ed.  It differs from 
the matlab print command in that there is no choice of output 
formats - but who want anything other than postscript nowadays?  :-)


% print.m
% print to a postscirpt file

function print (file)

file = ["\"", file, "\""];

gset term postscript
gset ("output", file)
replot
gset term x11
replot

endfunction


-- 
Huaiyu Zhu                      Tel: 1 505 984 8800 ext 305       
Santa Fe Institute              Fax: 1 505 982 0565
1399 Hyde Park Road             mailto:address@hidden          
Santa Fe, NM 87501              http://www.santafe.edu/~zhuh/  
USA                             ftp://ftp.santafe.edu/pub/zhuh/  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]