octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48198] With recent 4.1.0+ and gnuplot backend


From: Rik
Subject: [Octave-bug-tracker] [bug #48198] With recent 4.1.0+ and gnuplot backend all simbol or dot plots will also include a line.
Date: Fri, 10 Jun 2016 22:16:18 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #48198 (project octave):

The cset that introduced this is 21809:b2f1f4cf1389.


changeset:   21809:b2f1f4cf1389
user:        Daniel J Sebald <address@hidden>
date:        Mon May 30 02:42:43 2016 -0500
summary:     Correct linestyle property in toolkit for old versions of gnuplot
(bug #48033)

diff -r a4c744194bbb -r b2f1f4cf1389
scripts/plot/util/private/__gnuplot_draw_axes__.m
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m Thu Jun 02 11:06:56
2016 -0500
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m Mon May 30 02:42:43
2016 -0500
@@ -918,11 +918,7 @@ function __gnuplot_draw_axes__ (h, plot_
            endif
 
            sidx = 1;
-           if (isempty (lt))
-             style = "";
-           else
-             style = "lines";
-           endif
+           style = "lines";
            tmpwith = {};
 
            facesame = true;
@@ -1817,7 +1813,7 @@ function [style, ltidx] = do_linestyle_c
   if (__gnuplot_has_feature__ ("linetype"))
     scommand = "linetype";
   else
-    scommand = "line style";
+    scommand = "style line";
   endif
   fprintf (plot_stream, "set %s %d default;\n", scommand, idx);
   fprintf (plot_stream, "set %s %d", scommand, idx);
@@ -1852,11 +1848,7 @@ function [style, ltidx] = do_linestyle_c
 
   sidx = 1;
   if (isempty (errbars))
-    if (isempty (lt))
-      style{sidx} = "";
-    else
-      style{sidx} = "lines";
-    endif
+    style{sidx} = "lines";
     ltidx(sidx) = idx;
 
     facesame = true;




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48198>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]