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: Dan Sebald
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: Sat, 11 Jun 2016 07:50:06 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

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

Sorry about that folks.  I misunderstood what "lt" represents.  Near the end
of June I will look at this issue again with regards to gnuplot 4.4.  Also,
I'm pretty sure that the "stuck lines" problem in which the characteristics of
a line resembles that of a previous plot, e.g.:

demo polar
demo waterfall

is related to this.  This hunk of code:


   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);


is assigned a line type to indeces, e.g.,


set linetype 3 ...


However, the difference betwen linetype and "style line" is that linetype is
persistent.  Those are not reset with the "reset" command.  The way that
Octave is using gnuplot, where it essential resets and then redefines all
variables with a plot, might work better using just "style line" if possible. 
Maybe that would stay 4.4 compatible that way too.  Again, I look at this in a
couple weeks.

    _______________________________________________________

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]