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

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

[Octave-bug-tracker] [bug #50272] Wrong coordinates are displayed when a


From: Roland Baudin
Subject: [Octave-bug-tracker] [bug #50272] Wrong coordinates are displayed when an annotation is inserted
Date: Fri, 10 Feb 2017 03:32:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i586; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?50272>

                 Summary: Wrong coordinates are displayed when an annotation
is inserted
                 Project: GNU Octave
            Submitted by: roland65
            Submitted on: Fri 10 Feb 2017 08:32:10 AM UTC
                Category: Plotting with OpenGL
                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: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

In Octave 4.2.0, using the qt graphics toolkit, the coordinates that are
displayed at the bottom of a plot are wrong when a text annotation is inserted
(using the menu or the annotation() function).

The coordinates are wrongly normalized within [0, 1].

Note this issue does not exist with the fltk toolkit.

To reproduce:

graphics_toolkit('qt');

% Plot a sinus ; the display coordinates are OK
close all; clear all; x=[0:0.01:2*pi]; y=sin(x); plot(x,y);

% Annotate the figure - the display coordinates are wrongly between 0 and 1
annotation("textbox",[0.5 0.5 0 0],"string","TEXT") 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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