[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print sombrero in portrait - a hassle? (fltk)
From: |
Ben Abbott |
Subject: |
Re: print sombrero in portrait - a hassle? (fltk) |
Date: |
Thu, 02 Feb 2012 14:53:52 -0500 |
On Feb 2, 2012, at 1:18 PM, Muhali wrote:
> I may be missing something, but I have never managed to get sombrero printed
> in portrait in an easy way, using fltk. What I do is this:
>
> octave> set(gcf, "paperposition", [2.5 0.25 6 8])
> octave> set(gcf, "position", [818 162 380 560])
> octave> sombrero
> octave> print foo.png
>
> Everything simpler results in a distorted figure. I am sure there are
> simpler ways, aren't they?
>
> M.
I think you've found a bug.
Using gnuplot, the example below gives me two plots what are each the correct
size.
close all
graphics_toolkit fltk
orient landscape
sombrero
print foo.png
print ("bar.png", sprintf ("-S%d,%d", 6*150, 8*150))
With fltk, the first is correct, but the 2nd is not. Does this example
duplicate what you see ?
I've filed a bug report.
https://savannah.gnu.org/bugs/index.php?35439
Ben