[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppresing figure creation
From: |
Juan Pablo Carbajal |
Subject: |
Re: Suppresing figure creation |
Date: |
Sat, 24 Mar 2012 12:15:00 +0100 |
On Sat, Mar 24, 2012 at 11:58 AM, Michael Goffioul
<address@hidden> wrote:
> On Sat, Mar 24, 2012 at 10:34 AM, Juan Pablo Carbajal
> <address@hidden> wrote:
>> Hi,
>>
>> I been surfing the manual and I can't find (probably lack of the right
>> keyword, not lack of content) help relating the suppression of figure
>> creation.
>> What I mean is the following: is there anyway to call a plot command
>> without generating a figure but still creating the graphic object and
>> the handle to it?
>>
>> I need this cause several test blocks in geom2d (package OF geometry)
>> check the correctness of the draw* functions by checking the data on
>> the handle to the graphic object. However, we do not need the tests to
>> generate a figure and it would be nice to prevent the creation of the
>> figure. This is also causing some problem to the Debian packagers who
>> run tests in text terminal only and get the ASCII output.
>
> Do you mean something like this:
>
> figure ('visible', 'off');
> plot (...)
>
> Michael.
Thanks Michael,
Can anybody using text based output test that?
It works fine in gnuplot and fltk.
--
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/