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

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

[Octave-bug-tracker] [bug #46122] gnuplot printed figure truncated


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #46122] gnuplot printed figure truncated
Date: Tue, 15 Dec 2015 21:16:51 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

Follow-up Comment #7, bug #46122 (project octave):

Ederag,

The figure "position" specifies the location the figure is placed on your
monitor and has no effect when printing. The "defaultaxesunits" also do not
impact printing.

Regarding the orientation, if you do not change the orientation, your example
should work. Specifically, the example below works for me.


plot (rand (3))
set (gcf (), 'paperunits', 'centimeters')
set (gcf (), 'papersize', [21, 12])
set (gcf (), 'paperposition', [0 0 21, 12])
print -dpdf foo.pdf


There is a bug present, but it is not what you think. The bug is that changing
the paperorientation modifies the value of the paperposition. This should not
happen (according the Mathworks documentation and confirmed by testing).




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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