[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40259] Printing in landscape mode is clipped
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #40259] Printing in landscape mode is clipped |
Date: |
Wed, 02 Apr 2014 16:29:19 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9 |
Follow-up Comment #8, bug #40259 (project octave):
My understanding is that landscape implies that the paper width is larger than
the height. Thus, the code below should produce two identical pdf files.
close all
figure (1)
plot (rand (3))
set (gcf (), "papersize", [8.5, 11])
orient landscape
print -dpdf land1.pdf
set (gcf (), "papersize", [11, 8.5])
orient landscape
print -dpdf land2.pdf
I confirmed that Matlab follows this convention.
Perhaps the change set should include something like ...
if (strcmpi (get (hfig,"paperorientation"), "landscape"))
papersize = sort (papersize, "descend");
else
papersize = sort (papersize);
endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40259>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/