[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52590] paperorientation is ignored, orient()
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52590] paperorientation is ignored, orient() is needed |
Date: |
Tue, 5 Dec 2017 11:36:43 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Update of bug #52590 (project octave):
Status: None => Works For Me
_______________________________________________________
Follow-up Comment #1:
I think this is an accident that it ever worked before. By setting the
'paperposition' property you are specifying exactly how you want the plot to
appear on the page. For an A4 page in landscape orientation with centimeter
units, the papersize is
papersize =
29.700 21.000
The first dimensions is width and the second dimension is height.
However, you are setting the paperposition to
[1 1.5 19 27]
and the syntax is for this property is
[ left_edge, bottom_edge, width, height]
so you are requesting a portrait orientation where the width is 19 and the
height is 27. By simply reversing these I get a reasonable output.
set (gcf, "paperposition", [1 1.5 27 19])
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52590>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/