[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in
From: |
ederag |
Subject: |
[Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated |
Date: |
Sun, 25 Oct 2015 12:35:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 |
Follow-up Comment #3, bug #46292 (project octave):
The attached hg export, relative to changeset 20599:1c5a86b7f838
fixes this bug for gnuplot.
The sizes and resolution can also be given from command line (the -r or
-Ssx,sy options).
All the tests in the script attached pass with gnuplot.
Unfortunately with opengl (fltk or qt) things are still broken.
The discrepancy boils down to gnuplot using the real size, while the opengl
uses gl2ps which does not use the real size. Instead, gl2ps uses the positions
that are given in pixels, as if they were points (1 pt = 1 in / 72). This
leads to problems when absolute units (centimeters for instance) are used.
Actually the issue has already been raised:
http://www.geuz.org/pipermail/gl2ps/2015/000416.html
AFAIU, if the gl2ps behaviour can not be changed, we need to convert all the
positions, either for gnuplot or for opengl.
I would vote to use real sizes (as in the given patch), since it is nicer for
figure preparation (WYSIWYG), and scale the positions for opengl.
(file #35290, file #35291)
_______________________________________________________
Additional Item Attachment:
File name: wysiwyg_15a25.hg.diff Size:13 KB
File name: script_wysiwyg_tests.m Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated, Pantxo Diribarne, 2015/10/25
- [Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated,
ederag <=
- [Octave-bug-tracker] [bug #46292] printed figure with multiple plots, in absolute positions, is truncated, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, Pantxo Diribarne, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, Pantxo Diribarne, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, ederag, 2015/10/25
- [Octave-bug-tracker] [bug #46292] Axes with absolute "units" have wrong dimensions in printout, ederag, 2015/10/31