octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #37554] PaperPositionMode = 'auto' is ignored


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #37554] PaperPositionMode = 'auto' is ignored for printing
Date: Thu, 22 May 2014 18:08:14 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #27, bug #37554 (project octave):

Here is a summary of what I implemented:
* the paperpositionmode (default = "manual"), that was unused, now works as
all other *mode properties: when paperposition is set by the user,
paperpositionmode becomes manual
* when paperpositionmode is set "auto", the paperposition property is updated
so that the figure is centered on the page and its size should be
approximately the same as on screen.
* when paperunits, papertype and position are changed, paperposition is
updated.

Printing a figure that has the same size and aspect ratio as on screen should
now be as simple as 


hf = figure ();
plot(1:10);
set (hf, "paperpositionmode", "auto")
print toto.pdf


Does it work for you? 
I could check (see the %!test) that my implementation works also for landscape
orientation but print.m doesn't handle it well. This should probably be
discussed in bug #40259


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37554>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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