octave-maintainers
[Top][All Lists]
Advanced

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

Re: tests in log-scale plots


From: c.
Subject: Re: tests in log-scale plots
Date: Tue, 6 Sep 2011 16:51:04 +0200

On 6 Sep 2011, at 16:42, John W. Eaton wrote:

>  %!test
>  %! figure (1, 'visible', 'off')
>  %! clf ();
>  %! plot (something);
> 
> Sure, this tests that the plot function executes without error, but it
> doesn't tell us anything about whether the plot is correct.

In the patch I pushed I added checks on graphic handle properties like
 ytick, yscale, xscale to see whether they are set as expected.

> Also, not that we should cover up bugs, but weren't there problems
> with using "figure (1, 'visible', 'off')" with the OpenGL+FLTK
> plotting?  It seems to work for me now, but I remember a bug report
> about this and I don't remember it being fixed for everyone.

at the moment it seems to work for me on both OSX 10.6 and ubuntu.

> jwe
c.


reply via email to

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