Difference between revisions of "Plot comparison"

From Octave
Jump to navigation Jump to search
m (Add link to bug report)
m (Mark info as outdated)
 
Line 25: Line 25:
 
* Differences between Matlab and Octave are at this bug report: https://savannah.gnu.org/bugs/index.php?57553
 
* 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 might be outdated =
+
= 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 17:27, 7 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.