[Top][All Lists]

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

Re: landscape plotting

From: Rudolf Widmer-Schnidrig
Subject: Re: landscape plotting
Date: Thu, 24 Jul 2014 15:40:55 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 24.07.14 14:59, Andreas Weber wrote:
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)
subplot(2, 2, 2)
subplot(2, 2, 3)
subplot(2, 2, 4)

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...

Thank you, Andreas

this works and - as I found out in the mean time - is hardly different in its effect from

orient landscape
orient tall

print -dpdf myfig.pdf

Grüsse aus dem hinteren Heubach


reply via email to

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