[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50267] FLTK: annotation only works if an axes
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #50267] FLTK: annotation only works if an axes already exists |
Date: |
Thu, 9 Feb 2017 14:15:03 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
URL:
<http://savannah.gnu.org/bugs/?50267>
Summary: FLTK: annotation only works if an axes already
exists
Project: GNU Octave
Submitted by: rik5
Submitted on: Thu 09 Feb 2017 11:15:01 AM PST
Category: Octave Function
Severity: 3 - Normal
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: Any
_______________________________________________________
Details:
For some reason, hopefully trivial to find, the annotation command displays a
blank window if the existing figure doesn't have an axes object.
Code to reproduce:
close all
graphics_toolkit fltk
h = annotation ("rectangle", [0.2 0.7 0.2 0.2])
A new figure is created, and h holds a graphics object handle, but nothing is
displayed. By contrast, Qt works.
close all
graphics_toolkit qt
h = annotation ("rectangle", [0.2 0.7 0.2 0.2])
It is enough to add an axes to have this work
close all
graphics_toolkit fltk
h = annotation ("rectangle", [0.2 0.7 0.2 0.2])
hax = axes
The issue seems to be that when there is no handlevisible, axes object below
the figure Octave believes that nothing needs to be drawn.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50267>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #50267] FLTK: annotation only works if an axes already exists,
Rik <=