[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Visual comparison of plot files
From: |
Ben Abbott |
Subject: |
Re: Visual comparison of plot files |
Date: |
Thu, 03 Jul 2014 07:21:42 -0400 |
On Jul 3, 2014, at 4:52 AM, Andreas Weber <address@hidden> wrote:
> On 30.06.2014 19:51, Rik wrote:
>
>>> * gnuplot + ftlk: fill_01_1, fill_02_1:
>>> hidden edges keep visible in matlab, not with fltk or gnuplot
>>
>> Are they visible on screen? Matlab also uses gl2ps, I think, to print
>> things and there are some differences between what is rendered on-screen
>> and what is rendered in the png file. If I run demo ('fill', 1) in FLTK
>> then the on-screen image shows the hidden edge. It is only the printed
>> version that differs.
>
> No, in ML they are invisible on screen. When printing to PNG or JPEG the
> hidden line becomes visible, when printing to ps it invisible (same
> output like on-screen and gnuplot+fltk).
>
> Btw, you mentioned gl2ps: As you know we can print with fltk without a
> mapped window https://savannah.gnu.org/bugs/?33180 and as I read from
> the comments this is due to gl2ps which needs a mapped window in order
> to print. If ML also uses gl2ps, how are they able to print without
> window or display when started with -nodisplay?
>
> -- Andy
I don't know if Matlab specifically uses gl2ps, but my impression (?) is that
they use an equivalent approach.
However, Matlab has three methods for rendering a figure. The default method
is not OpenGL based.
set (gcf, 'renderer')
[ {painters} | zbuffer | OpenGL | None ]
Ben