bugGNU Octave - Bugs: bug #49437, Wrong tick labels (e.g. 1.10e-4)...

 
 

bug #49437: Wrong tick labels (e.g. 1.10e-4) on logarithmic axis (MS Windows)

Submitted by:  Martin Kunz <mkunz>
Submitted on:  Tue 25 Oct 2016 09:23:55 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: mkunzOpen/Closed: Closed
Release: 4.2.0-rc2Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 26 Oct 2016 06:46:41 AM UTC, comment #4:

That was fast. Thanks Rik!

Martin Kunz <mkunz>
Wed 26 Oct 2016 04:54:48 AM UTC, comment #3:

I fixed this on the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/a17848537a67). I'm not sure whether this will make it in to 4.2.0 or the bug fix release 4.2.1.

There were multiple issues, but the problme for Windows machines was the roundoff error in std::pow that has been seen before.

Rik <rik5>
Project Administrator
Tue 25 Oct 2016 10:56:53 PM UTC, comment #2:

This seems to be round-off error that we have encountered before on MS Windows platform with respect to exponents and the std::pow function. I think I have a fix, but it will take me a few hours to build with MXE and test.

Rik <rik5>
Project Administrator
Tue 25 Oct 2016 09:45:39 PM UTC, comment #1:

WTF Microsoft? I can reproduce this on a Windows XP virtual machine, but a Linux PC works just fine. It has something to do with using the mouse as well, because I can manually zoom the plot with

And the labels are then fine.

It seems to be a problem whenever you get to 10^-4 power. Smaller powers are okay. Very strange.

Rik <rik5>
Project Administrator
Tue 25 Oct 2016 09:23:55 AM UTC, original submission:

The following lines

produce initially a nice looking plot. After zooming out once by turning the mouse wheel strange labels appear on the y ticks:

Switching a "screwed" figure to the FLTK toolkit preserves the faulty labels whereas they do not show up in figures that were set to FLTK before the loglog command.

Martin Kunz <mkunz>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Oct 2016 04:54:48 AM UTCrik5StatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 25 Oct 2016 11:00:23 PM UTCrik5Carbon-Copy-=>Added pantxo
    Tue 25 Oct 2016 11:00:02 PM UTCrik5Dependencies-=>Depends on bugs #46055
    Tue 25 Oct 2016 10:56:53 PM UTCrik5StatusConfirmed=>In Progress
    Tue 25 Oct 2016 09:45:39 PM UTCrik5StatusNone=>Confirmed
      SummaryWrong tick labels (e.g. 1.10e-4) on logarithmic axis=>Wrong tick labels (e.g. 1.10e-4) on logarithmic axis (MS Windows)

    Back to the top


    Powered by Savane 3.1-cleanup1