Plot comparison: Difference between revisions

From Octave
Jump to navigation Jump to search
Line 54: Line 54:
== Matlab errors due to incompatibilities ==
== Matlab errors due to incompatibilities ==


* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#autumn_01 autumn_01: Error using rgbplot. Too many input arguments.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_03 axis_03: Error using axis (line 204). Unknown command option ticx.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_03 axis_03: Error using axis (line 204). Unknown command option ticx.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_04 axis_04: Error using plot. Error in color/linetype argument.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_04 axis_04: Error using plot. Error in color/linetype argument.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_06 axis_06: Undefined function 'sombrero']
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_09 axis_09,10,11,12, 13: No XAxisLocation zero]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#bone_01 bone_01: Error using rgbplot. Too many input arguments.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#brighten_01 brighten_01: Error using axis (line 204). Unknown command option ticy.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#brighten_01 brighten_01: Error using axis (line 204). Unknown command option ticy.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_02.html#colorbar_19 colorbar_19: Error using matlab.graphics.illustration.ColorBar/set. There is no yscale property on the ColorBar class.]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_02.html#colorbar_19 colorbar_19: Error using matlab.graphics.illustration.ColorBar/set. There is no yscale property on the ColorBar class.]


= old results, should be rechecked and merged =
= old results, should be rechecked and merged =

Revision as of 08:33, 20 August 2016

Visual comparison of plot files from http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html until compare_plot_demos_0_08.html

You can find the scripts which are used to create these plots in scripts/testfun/private.

Qt

gnuplot 4.6

The monochrome prints are reported here #48832

Qt and gnuplot (independent of the used graphics_toolkit)

Matlab errors due to incompatibilities

old results, should be rechecked and merged

  • shrinkfaces_04: shows "inverted?/outer faces", completly different from matlab
  • text_03: can't print multi-line text objects bug#31468
  • colorbar_20: Latex label 10^{2}, 10^{1.5} not in print output. See bugs #42988, #42320, #42340 which are mostly duplicates

gnuplot only differences

There are a lot of gnuplot differences and it might be nice to fix those, but someone would have to take an interest. Octave is moving towards OpenGL for all plotting so most developers focuses on bug fixes for that toolkit.

Nevertheless here are some visual gnuplot ONLY problems which need some attention:

  • fill_03: unusable
  • ezsurf_02: distorted despite "axis equal"
  • isosurface_01: wrong scale, edges missing
  • trimesh_01: invisible lines bug#42561. FLTK plot is fine.
  • zlim_03: Warning/Error "line 0: *All* edges undefined or out of range, thus no plot." and an empty plot (as announced). FLTK plot is fine.

won't fix or Octave only feature

  • fltk/ML axis_09, axis_10, axis_11, axis_12, axis_13: No, [x,y]axislocation' 'zero' (http://savannah.gnu.org/bugs/?40588). This is an Octave (and gnuplot) only feature. We can either blacklist, or visually skip over the comparison since it is blank for Matlab. Perhaps should be removed from demos or blacklist axis_09 in dump.m script
  • matlab comet3_01, comet.png: Only the beginning of the animation is printed. Matlab implements comet in a completely different way which means printing isn't really possible for them.
  • matlab polar_03, polar_05: Modifying ticks for rho (rticks) and theta (tticks) is an Octave addition.
  • matlab polar_04: Modifying color and text properties in polar plot is an Octave addition.
  • Multiple Matlab plots with "Error in color/linetype argument". This is because adding legend keys with ";" in plot like "plot(1:10, "; a ramp;)" is an Octave only addition.