help-octave
[Top][All Lists]
Advanced

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

Re: figures after print command never look good


From: marasolc
Subject: Re: figures after print command never look good
Date: Sun, 21 Oct 2012 05:57:51 -0700 (PDT)

Thanks, that is certainly an option.

I've just found this nice link by Andrew M.C. Dawes:
http://dawes.wordpress.com/2009/12/19/nice-octave-plots/
<http://dawes.wordpress.com/2009/12/19/nice-octave-plots/>  
where he describes how to make a nice eps figure. His code is the following:

h = figure;
set (h,'papertype', '<custom>')
set (h,'paperunits','inches');
set (h,'papersize',[3 2.5])
set (h,'paperposition', [0,0,[3 2.5]])
set (h,'defaultaxesposition', [0.15, 0.15, 0.75, 0.75])
set (0,'defaultaxesfontsize', 14)
plot(rand(50,1))
xlabel('Time (s)')
ylabel('Velocity (m/s)')
print('figure.eps','-deps')


Marek Scholz



--
View this message in context: 
http://octave.1599824.n4.nabble.com/figures-after-print-command-never-look-good-tp4645550p4645555.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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