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

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

[Octave-bug-tracker] [bug #48429] gridcolor, minorgridcolor properties n


From: Rik
Subject: [Octave-bug-tracker] [bug #48429] gridcolor, minorgridcolor properties not implemented for OpenGL toolkits
Date: Sat, 20 Aug 2016 16:33:06 +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 #48429 (project octave):

The "gridcolor" and "minorgridcolor" work for me.  The "gridalpha" doesn't
seem to effect anything.  I tried turning on the grid and then using 


set (gca, "gridalpha", 0);  # completely transparent
set (gca, "gridalpha", 1);  # completely opaque


but I didn't see a difference.

Also, it seems that we draw the grid over the axes line sometimes.

Can someone with access to Matlab run these commands?


plot (1:10)
grid on
set (gca, 'gridcolor', 'r')
set (gca, 'xcolor', 'b', 'ycolor', 'g')


In Octave, all lines are red because the grid is covering the axes box.  If
Matlab exposes the axes, then the solution will be to change the calculation
of the tick locations in gl-render.cc that we pass to the render_grid
function. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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