Plot comparison: Difference between revisions

From Octave
Jump to navigation Jump to search
(5 intermediate revisions by 3 users not shown)
Line 23: Line 23:
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#stem_06 stem_06: Vertical lines to the marker missing]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#stem_06 stem_06: Vertical lines to the marker missing]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#stem_07 stem_07: Vertical lines to the marker missing]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#stem_07 stem_07: Vertical lines to the marker missing]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#shrinkfaces_02 shrinkfaces_02: wrong zoom]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_07.html#shrinkfaces_04 shrinkfaces_04: wrong zoom]


== gnuplot 4.6 ==
== gnuplot 4.6 ==
Line 29: Line 32:
bug fixes for that toolkit.
bug fixes for that toolkit.


The monochrome prints with 4.6 (fine with 5.0) are reported here [https://savannah.gnu.org/bugs/index.php?48832 #48832]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_01 annotation_01: Circle is missing]
 
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_02 annotation_02: gnuplot boxes are wrong]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_02 annotation_02: gnuplot boxes are wrong]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_05 annotation_05: gnuplot uses dotted lines instead of solid line]
* <strike>[http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_05 annotation_05: gnuplot uses dotted lines instead of solid line]</strike>
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_06 annotation_06: annotation is shifted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#annotation_06 annotation_06: annotation is shifted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#area_01 area_01: legend is cutted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#area_01 area_01: legend is cutted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_02 axis_02: xy plot yaxis inverted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#axis_02 axis_02: xy plot yaxis inverted]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#autumn_01 autumn_01: y-axis inverted + no color]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_01 colorbar_01: inverted colorbar]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_01 colorbar_01: inverted colorbar]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_02 colorbar_02: horizontally swapped colorbar]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_02 colorbar_02: horizontally swapped colorbar]
Line 57: Line 60:
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_02.html#colorbar_23 colorbar_23: xtick unreadable. It should check the text_extent and reduce xticks if the xlabels would overlap]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_02.html#colorbar_23 colorbar_23: xtick unreadable. It should check the text_extent and reduce xticks if the xlabels would overlap]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_01 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]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html#colorbar_01 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]
* [http://josoansi.de/octave_plot_compare/compare_plot_demos_02.html#bar_01 bar_01: Bars heights difference between octave and matlab]


== Matlab errors due to incompatibilities ==
== Matlab errors due to incompatibilities ==

Revision as of 21:49, 27 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

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)

Matlab errors due to incompatibilities

won't fix or Octave only feature

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