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

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

[Octave-bug-tracker] [bug #55931] Plot diisappers after zooming out once


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55931] Plot diisappers after zooming out once and then clicking "Autoscale"
Date: Fri, 15 Mar 2019 17:33:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

URL:
  <https://savannah.gnu.org/bugs/?55931>

                 Summary: Plot diisappers after zooming out once and then
clicking "Autoscale"
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Fri 15 Mar 2019 10:33:13 PM CET
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

(Release is actually 5.1.1 but that is not in the bug tracker's  drop-down
list)

Steps to reproduce:

>> poly = [95000 482000; 98000 485000; NaN NaN; 95000 485000; 98000 482000];
>> plot (poly(:, 1), poly(:, 2))
>> box on; grid on; axis equal; axis tight


A cross ('X') is shown.
Then, select the "Zoom out" button, and click in middle of plot
==> plot is zoomed out, fine.

Next, click "Autoscale" button
==> cross disappears completely and cannot be redrawn. Nothing seems to help.
This is the bug.

Just a hunch: is this another manifestation of single precision in OpenGL?
Because if after zooming out, again zooming in a little by selecting a zoom
area, Autoscale seems to work in Qt and the plot is again filled with the
cross.
Using fltk it is a bit easier to recover the plot, just "axis tight" does the
job.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55931>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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