bugGNU Octave - Bugs: bug #44895, minor grid does not always appear...

 
 

bug #44895: minor grid does not always appear until window size is changed

Submitter:  Rik <rik5>
Submitted:  Tue 21 Apr 2015 08:00:05 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  2 - Minor
Priority:  3 - Low Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 23 Dec 2016 10:57:06 PM UTC, comment #1: 

This seems to be FIXED in Octave 4.2.0.

When running the code from comment #0 I get the minor grid lines displayed straight away.

Hartmut <hardy>
Tue 21 Apr 2015 08:00:05 PM UTC, original submission:  

Turning on the minor grid on a brand new axes object does not always display the minor grid.  refresh() and drawnow() do not cause the grid to be drawn.  However, if the plot window is resized using a mouse the re-paint event causes the grid to be displayed.

This isn't of high importance.  It seems to work, for example, as long as there is a child object of the axes such as a line object or surface object.  This is probably a clue.  Also, anything that updates the axis limits also causes the correct behavior.

Failing example:


close all
graphics_toolkit qt
gca
grid minor


Working example:


close all
gca
xlim ([0 2]);
ylim ([0 2]);
grid minor



Rik <rik5>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-30 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2015-04-22 rik5 Priority5 - Normal 3 - Low

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code