Plot comparison: Difference between revisions

From Octave
Jump to navigation Jump to search
(Updated plot comparison with Octave 6.0.0 and ML2019)
m (Mark info as outdated)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
* Qt-painters
* Qt-painters
* Qt-opengl
* Qt-opengl
* ML2019 (FIXME: diary.log is missing)
* ML2019


Visual comparison of plot files from http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html until compare_plot_demos_09.html
Visual comparison of plot files from http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html until compare_plot_demos_09.html
Line 19: Line 19:
You can find the scripts which are used to create these plots in scripts/testfun/private.
You can find the scripts which are used to create these plots in scripts/testfun/private.


= Attention: The info below is from 2016 and might be outdated =
== Problems ==
 
* ML2019 can't process the generated script and shows "The input was too complicated or too big for MATLAB to parse.". A workaround is to split the script into two parts, replicate the preface (approx. the first 80 lines, adapt the diary log and duplicate the "Helper functions" part at the end of the script (this wasn't done in this run)
 
* Differences between Matlab and Octave are at this bug report: https://savannah.gnu.org/bugs/index.php?57553
 
= Attention: The info below is from 2016 and is *outdated* =


== Qt ==
== Qt ==


* [http://josoansi.de/octave_plot_compare_old/compare_plot_demos_01.html#axis_09 axis_09,10,11,12, 13: No XAxisLocation zero] ({{bug |40588}} and {{bug |48562}}) since Matlab R2016a now supports "origin", this should be considered as an compatibility bug
* [http://josoansi.de/octave_plot_compare_old/compare_plot_demos_02.html#copyobj_01 copyobj_01: Second line, legend and marker missing]
* [http://josoansi.de/octave_plot_compare_old/compare_plot_demos_02.html#copyobj_01 copyobj_01: Second line, legend and marker missing]
* [http://josoansi.de/octave_plot_compare_old/compare_plot_demos_02.html#colorbar_19 colorbar_19: no colorbar]
* [http://josoansi.de/octave_plot_compare_old/compare_plot_demos_02.html#colorbar_19 colorbar_19: no colorbar]

Latest revision as of 01:27, 8 January 2020

  • Generated on 06-Jan-2020 22:54:31 by html_compare_plot_demos with GNU Octave 6.0.0
  • gnuplot 5.2
  • Qt-painters
  • Qt-opengl
  • ML2019

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

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

Problems[edit]

  • ML2019 can't process the generated script and shows "The input was too complicated or too big for MATLAB to parse.". A workaround is to split the script into two parts, replicate the preface (approx. the first 80 lines, adapt the diary log and duplicate the "Helper functions" part at the end of the script (this wasn't done in this run)

Attention: The info below is from 2016 and is *outdated*[edit]

Qt[edit]

gnuplot 4.6[edit]

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.

Qt and gnuplot (independent of the used graphics_toolkit)[edit]

Matlab errors due to incompatibilities[edit]

won't fix or Octave only feature[edit]

  • 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.