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

 
 

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

Submitter:  Michael Godfrey <godfrey>
Submitted:  Sun 24 Apr 2011 05:08:00 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Fixed Assigned to:  None
Originator Name:  godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by godfrey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-09 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2011-09-26 rik5 StatusNone Need Info
    2011-04-24 rik5 CategoryPlotting Plotting with OpenGL
        Summaryplotting: log axes inappropriate format plotting: log axes labels use inappropriate format
    2011-04-24 godfrey Attached File- Added loglog_test.png, #23296

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code