On 24.07.2014 13:29, Rudolf Widmer-Schnidrig wrote:
I run octave 3.6.4 and would like that my plot fills out an entire
landscape A4 page.
Octave 3.6.4 is quite old and I hope this work there. I guess you are
using the gnuplot toolkit, right? Then try this:
# create a plot
subplot(2, 2, 1)
plot(sin(0:0.1:10))
subplot(2, 2, 2)
plot(cos(0:0.1:10))
subplot(2, 2, 3)
plot(sin(0:0.1:10).**2)
subplot(2, 2, 4)
plot(exp(0:0.1:3))
set (gcf, "paperorientation", "landscape")
# Calculate the papersize in inches for A4
papersize = [29.7, 21]/2.54;
set (gcf, "papersize", papersize)
set (gcf, "paperposition", [0.25 0.25, papersize-0.5])
print -dpdf out.pdf
This keeps a 0.25 inches border around the page
Gruß ins Kinzigtal...