bugGNU Octave - Bugs: bug #33151, plotting: log axes labels use...

 
 

bug #33151: plotting: log axes labels use inappropriate format

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Sun 24 Apr 2011 05:08:00 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Performance
Status: FixedAssigned to: None
Originator Name: godfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 26 Sep 2011 05:26:26 PM UTC, comment #3:

Has this been resolved by this changeset?

changeset: 13211:78744376463a
user: Ben Abbott <bpabbott@mac.com>
date: Sat Sep 24 17:31:19 2011 -0400
summary: src/graphics.cc: Consistent log-scale axis tick labels.

When I try the sample code loglog (1:400) I get tick labels that use xxe+yy which seems okay. It's still not quite as nice as 10^0, 10^1, etc. but the fltk seems to lack the back-end Tex interpreter.

Rik <rik5>
Project Administrator
Mon 25 Apr 2011 12:50:50 AM UTC, comment #2:

Yes, this is fltk-specific, and it is another
of the features of the fltk backend that are
not ready for general use.

Thanks for connecting this to the other bug reports.

Michael Godfrey <godfrey>
Project Member
Sun 24 Apr 2011 10:27:48 PM UTC, comment #1:

Isn't this only with the FLTK backend? The gnuplot backend seems to be fine.

In short, the FLTK axis code for log plots really needs to be improved because this is the third reported bug against logarithmic plots. Bug #31797 is about incorrect log tick labels and bug #33052 is about incorrect panning caused by log axes.

Rik <rik5>
Project Administrator
Sun 24 Apr 2011 05:08:00 PM UTC, original submission:

Attached is a loglog plot from matlab R2009b
It was created using: loglog(1:400)
The axes show values 10 10^1 10^2

Compare this with the same plot in Octave.
Also, compare result of grid on.

The matlab choice is not the only one, but at
least formats of the form %xx.yye should be used.

Michael

Michael Godfrey <godfrey>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #23296:  loglog_test.png added by godfrey (18KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by godfrey (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Oct 2011 11:28:22 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Mon 26 Sep 2011 05:26:26 PM UTCrik5StatusNone=>Need Info
    Sun 24 Apr 2011 10:27:48 PM UTCrik5CategoryPlotting=>Plotting with OpenGL
      Summaryplotting: log axes inappropriate format=>plotting: log axes labels use inappropriate format
    Sun 24 Apr 2011 05:08:00 PM UTCgodfreyAttached File-=>Added loglog_test.png, #23296

    Back to the top


    Powered by Savane 3.1-cleanup1