[Top][All Lists]

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

[Octave-bug-tracker] [bug #35329] change of paperorientation does not up

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35329] change of paperorientation does not update papersize
Date: Sun, 22 Jan 2012 22:24:47 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

Follow-up Comment #3, bug #35329 (project octave):

I should have been more thorough in my original comment. There is already some
listeners in place for the paper properties.

set (gcf, "papertype", "a4")
get (gcf, "papersize")
ans =    8.2677   11.6929

However, the listener doesn't always to the right thing.

The papertype should be automatically detected.

set (gcf, "papersize", [8.5, 11.0])
get (gcf, "papertype")
ans = <custom>

In addition to the papertype, the orientation should also be detected. 

set (gcf, 'papertype', 'usletter')
set (gcf, "papersize", [8.5, 11.0])
get (gcf, "papertype")
ans = usletter
set (gcf, "papersize", [11.0, 8.5])
get (gcf, "papertype")
ans = <custom>
get (gcf, "paperorientation")
ans = portrait


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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