Plot comparison: Difference between revisions
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 | = Attention: The info below is from 2016 and is *outdated* = | ||
== Qt == | == Qt == | ||
* [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
- Page 1: annotation .. colorbar
- Page 2: colorbar .. daspect
- Page 3: daspect .. hsv
- Page 4: image .. legend
- Page 5: legend .. movie
- Page 6: ocean .. quiver
- Page 7: quiver .. shrinkfaces
- Page 8: shrinkfaces .. text
- Page 9: text .. zoom
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)
- 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*[edit]
Qt[edit]
- copyobj_01: Second line, legend and marker missing
- colorbar_19: no colorbar
- hold_06: transparency?
- imshow_07: ???, gnuplot does the same as matlab...
- fill_01: Hidden edge is visible
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.
- annotation_01: Circle is missing
- annotation_02: gnuplot boxes are wrong
annotation_05: gnuplot uses dotted lines instead of solid line- annotation_06: annotation is shifted
- area_01: legend is cutted
- axis_02: xy plot yaxis inverted
- autumn_01: y-axis inverted + no color
- colorbar_01: inverted colorbar
- colorbar_02: horizontally swapped colorbar
- colorbar_07: upper right colorbar is inverted
- colorbar_08: right colorbar is inverted
- colorbar_12: right colorbar is inverted
- colorbar_14: upper colorbar is inverted
- colorbar_20,21,22,23: inverted colorbar
- fill_03: no gradient
- hot_01: lower plot yaxis inverted
- shrinkfaces_02: wrong vertexes
- shrinkfaces_04: wrong vertexes
- trimesh_01: invisible lines. Qt plot is fine. #42561
Qt and gnuplot (independent of the used graphics_toolkit)[edit]
- annotation_03: currently not all "headstyle" properties implemented which matlab has
- annotation_04: ??? What's correct here?
- area_01: Different colors, white vertical lines in FLTK/Qt
- cmpermute_01: No plot
- colorbar_23: xtick unreadable. It should check the text_extent and reduce xticks if the xlabels would overlap
- colorbar_01: This is just a matter of taste but I (Andy1978) would prefer a smaller gap (only 40% of the current implementation?) between colorbar and the plot like matlab does
- bar_01: Bars heights difference between octave and matlab
Matlab errors due to incompatibilities[edit]
- axis_03: Error using axis (line 204). Unknown command option ticx.
- axis_04: Error using plot. Error in color/linetype argument.
- brighten_01: Error using axis (line 204). Unknown command option ticy.
- colorbar_19: Error using matlab.graphics.illustration.ColorBar/set. There is no yscale property on the ColorBar class.
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.