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

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

[Octave-bug-tracker] [bug #48528] minor grid should be drawn on major ti


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48528] minor grid should be drawn on major ticks if major grid is off
Date: Sat, 16 Jul 2016 07:07:43 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #6, bug #48528 (project octave):

The demos look good, illustrating the various combinations.  I'm having a bit
of trouble following them with the related bugs in the mix, but it appears
that you placed some assert() tests in there to show that the result is not as
expected.  So, if these are run during the check phase they'll come up as
failed tests and will motivate someone to fix them.

The demos should be placed within the file having the name of the test.  So,
for "demo grid", look to the end of the file "grid.m" and you should see how
to format the demos.


%!demo
%! subplot (1,2,1)
%!  plot (1:10);
%!  set (gca, 'xminorgrid', 'on')
%!  set (gca, 'yminorgrid', 'on')
%! subplot (1,2,2)
%!  semilogy (1:100);
%!  set (gca, 'xminorgrid', 'on')
%!  set (gca, 'yminorgrid', 'on')

%!demo
%!...


Rollback your changeset, add the demos to grid.m and update you commit
comments with something like:


Draw minor grid lines at major ticks if major grid is off (bug #48528)

* gl-render.cc (draw_axes_[xyz]_grid): Draw minor grid lines at major
ticks if major grid is off.

* grid.m: Add four demos, some with assert() to highlight other bugs.


Thanks.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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