[Top][All Lists]

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

[Octave-bug-tracker] [bug #35259] fltk surf plots don't print properly

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35259] fltk surf plots don't print properly
Date: Mon, 09 Jan 2012 00:59:43 +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 #5, bug #35259 (project octave):

My epstool version is

$ epstool --version
epstool 3.08 2005-06-06

I tried the commands below.

close all
graphics_toolkit fltk
peaks (1)
print -depsc -tight test.eps

They produced an eps-file with the header below.

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -3000 -3000 6400 6400
%%HiResBoundingBox: -2999.999 -2999.999 6399.996 6399.996
%%Title: glps_renderer figure
%%Creator: GL2PS 1.3.6, (C) 1999-2011 C. Geuzaine
%%For: Octave
%%CreationDate: Sun Jan  8 19:35:25 2012
%%LanguageLevel: 3
%%DocumentData: Clean7Bit
%%Pages: 1

Using gnuplot, I get the expected result.

%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox: 98 91 565 444
%%HiResBoundingBox: 98.196 91.122 564.261 443.971
%%Title: /var/tmp/oct-OlOPsz.eps
%%Creator: gnuplot 4.4 patchlevel 4
%%CreationDate: Sun Jan  8 19:37:48 2012
%%DocumentFonts: (atend)

Rik, the "print -tight" option isn't equivalent to "axis tight". It shouldn't
change the axis ticks. Instead it tightens the bounding box around the figues
children (which may include one or more axes). Even so, your suggestion that
Octave handle the "-tight" can work for the opengl backends. We'd have to
modify the position properties of each axis to for the looseinset on edges of
the figure's axes to zero. Kostas was good at such things, but its a weakness
of mine. I'll give this some more thought. Perhaps there's another way.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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