[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unified FLTK & Gnuplot printing
From: |
bpabbott |
Subject: |
Re: unified FLTK & Gnuplot printing |
Date: |
Wed, 25 Aug 2010 07:04:31 -0700 (PDT) |
On 25 Aug, 2010,at 09:04 AM, Søren Hauberg <address@hidden> wrote:
man, 23 08 2010 kl. 21:13 -0400, skrev Ben Abbott:
> I've prepared a changeset to unify the printing for both the FLTK and Gnuplot backends.
This seems to work very nicely! Wonderful :-)
I just played a bit around with the FLTK backend and have a few
observations:
*) If I do
imshow (rand (100))
text (30, 30, "Hello, world")
and print the result then the text is visible in the print, but
not on screen. I don't know if this is a bug in the on-screen
visualisation or in the printing, though.
*) If I do
sphere ()
print sphere.pdf
then I get the attached file. In this, the sphere seems
'semi-transparent'. By that I mean that I can see the edges of
the occluded part of the sphere in the print. I cannot see these
on the screen
Søren
Regarding the text over the image, I see the text on my screen. It is much easier to see if I ...
text (30, 30, "Hello, World", "color", "b", "fontsize", 30)
Regarding the "occluded" part (new word for me!), if I understand you correctly this is a feature of how the surface plot is drawn. Each rectangle is actually drawn as a pair of triangles. The edges of the triangles, along the rectangle's diagonal, are visible. I see the same effect when I produce pdf output from Matlab (plot is attached). Perhaps this is a feature of OpenGL?
Ben
sphere.pdf
Description: Adobe PDF document
Re: unified FLTK & Gnuplot printing, Ben Abbott, 2010/08/25
Re: unified FLTK & Gnuplot printing, Jordi Gutiérrez Hermoso, 2010/08/30