[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44895] minor grid does not always appear unti
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44895] minor grid does not always appear until window size is changed |
Date: |
Tue, 21 Apr 2015 20:00:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/bugs/?44895>
Summary: minor grid does not always appear until window size
is changed
Project: GNU Octave
Submitted by: rik5
Submitted on: Tue 21 Apr 2015 01:00:05 PM PDT
Category: Plotting with OpenGL
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44895>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44895] minor grid does not always appear until window size is changed,
Rik <=