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 17:03:20 +0200

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

> I agree that this is somewhat useful as a test, but it still does not
> tell that the plot is rendered correctly.  That's why I think the
> demos are still useful.  Perhaps more useful at this point than for
> the graphics functions than writing a bunch of automated tests that
> show that properties are set correctly.

Indeed, that's why I added the same check both as a test and as a demo.

- the test checks that axes properties are set correctly
- the demo allows one to check whether the graph looks one to check whether the 
plot looks as expected

it would be nice to avoid code duplictation in the demo and test blocks, but I 
don't see how that could 
be done...

c.

reply via email to

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