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

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

[Octave-bug-tracker] [bug #48401] Gnuplot produces only ":" gridlines


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48401] Gnuplot produces only ":" gridlines
Date: Tue, 5 Jul 2016 18:08:03 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #5, bug #48401 (project octave):

Give the attached patch a try.  gnuplot doesn't have dashtype for "set grid",
but I managed to make it work by using a "linetype" definition.  (I'll send a
note to gnuplot about that oversight.)  After your test example, try something
like:

set(gca, 'gridlinestyle', ':', 'gridcolor', [0.1 0.5 0.1])

Also in the patch I add an extra conditional to get rid of some redundant
lines of gnuplot code that set the characteristics for a non-existent point
style.  There is actually more of this sort of redundant code if one sets
points without lines.  The whole do_linestyle_command() could be reworked.  I
began down that path but found the "found_style" and so many conditions to be
confusing.

(file #37723)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_gridlines-bug48401-djs2016jul05.patch Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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