[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Comparing plots to Matlab
From: |
Søren Hauberg |
Subject: |
Comparing plots to Matlab |
Date: |
Wed, 01 Dec 2010 23:42:10 +0100 |
Hi All
For determining if our plotting system works, we currently have
'rundemos' which can be used to run the demos of our plotting functions.
The results can then be visually inspected to see if they are good.
However, I find it rather to figure out if the visual results are
correct.
To somewhat ease this I made a script that behaves quite similarly to
'rundemos'. However, instead of running the demoes it generates a script
that contains the demos along with code for printing the generated
figures to PNG files. The current version of this script is attached.
I have then tried to run the generated script in Octave with the gnuplot
backend (it crashes the FLTK backend) and in Matlab. This gives us a set
of directly comparable PNG files. I have put these on
http://octave.sourceforge.net/compare_plots/
In general, results seems quite good, though not perfect. On this page,
you'll sometimes see missing figures. In the script I put try-catch'es
around the individual demos, so if a demo fails no figure is generated.
Soren
dump_demos.m
Description: Text Data
- Comparing plots to Matlab,
Søren Hauberg <=
- Re: Comparing plots to Matlab, Ben Abbott, 2010/12/01
- Re: Comparing plots to Matlab, Søren Hauberg, 2010/12/02
- Re: Comparing plots to Matlab, Ben Abbott, 2010/12/02
- Re: Comparing plots to Matlab, Ben Abbott, 2010/12/03
- Re: Comparing plots to Matlab, John W. Eaton, 2010/12/03
- Re: Comparing plots to Matlab, Søren Hauberg, 2010/12/05
- Re: Comparing plots to Matlab, Kai Habel, 2010/12/05
- Re: Comparing plots to Matlab, Søren Hauberg, 2010/12/05
- Re: Comparing plots to Matlab, Kai Habel, 2010/12/05
- Re: Comparing plots to Matlab, Søren Hauberg, 2010/12/05