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 gridlinestyle property overrid


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48401] gnuplot gridlinestyle property overrides minorgridlinestyle propery
Date: Wed, 6 Jul 2016 08:30:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

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

So many variations...  An updated patch is attached, fairly straightforward.

To test the alpha blending, try something like:


plot (0:10); grid on; grid minor on;
set(gca, 'gridcolor', 'red', 'gridalpha', 0.5, 'minorgridcolor', 'green',
'minorgridalpha', 0.8, 'minorgridlinestyle', '-');
set(gca, 'gridcolor', 'red', 'gridalpha', 0.5, 'minorgridcolor', 'green',
'minorgridalpha', 0.8, 'minorgridlinestyle', 'none');


(The red/green combo makes me think of graph paper from way too far back to
mention.)  As for alpha blending, experiment with different values of alpha
and it become apparent it is working.  The grid lines could also be achieved
by setting the color (while alpha is 0), but I think the difference with alpha
blending is that the point where the grids and data curve intersect are a
blend rather than one color or the other.


(file #37728)
    _______________________________________________________

Additional Item Attachment:

File name: octave-gnuplot_minorgridlines-bug48401-djs2016jul06.patch Size:5 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]