changeset 16891:76bd90f6ba65

__plt__.m: Use marker style '.' for vector/scalar plots (bug #38825). * scripts/plot/private/__plt__.m(__plt2sv__,__plt2vs__): Set marker style to "." if unspecified.
author Rik <rik@octave.org>
date Mon, 01 Jul 2013 15:27:21 -0700
parents e1c70d72df04
children 830f27544bb7
files scripts/plot/private/__plt__.m
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__plt__.m
+++ b/scripts/plot/private/__plt__.m
@@ -373,7 +373,9 @@
     linestyle = options(i).linestyle;
     marker = options(i).marker;
     if (isempty (marker) && isempty (linestyle))
-      [linestyle, marker] = __next_line_style__ ();
+      ## If unspecified, marker for a point is always "."
+      linestyle = "-";
+      marker = ".";
     endif
     color = options(i).color;
     if (isempty (color))
@@ -443,7 +445,9 @@
     linestyle = options(i).linestyle;
     marker = options(i).marker;
     if (isempty (marker) && isempty (linestyle))
-      [linestyle, marker] = __next_line_style__ ();
+      ## If unspecified, marker for a point is always "."
+      linestyle = "-";
+      marker = ".";
     endif
     color = options(i).color;
     if (isempty (color))