bugGNU Octave - Bugs: bug #46055, Tick labels should be powers of...

 
 

bug #46055: Tick labels should be powers of ten in log plots

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Sat 26 Sep 2015 04:42:31 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Oct 2015 09:55:31 PM UTC, comment #4: 

I pushed the patch now superscripts are supported in printout:

http://hg.savannah.gnu.org/hgweb/octave/rev/974b218e7292


Pantxo Diribarne <pantxo>
Group Member
Mon 28 Sep 2015 08:28:11 AM UTC, comment #3: 

Yes, I haven't had any comment on the new approach I proposed for printing text strings using gl2ps in bug #31468. At least the printout for "small" strings with superscripts like "10^{2}" is really good looking I think. If people think the approach is promising I'll polish and push the patches and then this bug is easily fixed.

Pantxo Diribarne <pantxo>
Group Member
Mon 28 Sep 2015 02:31:39 AM UTC, comment #2: 

The inability to print superscripts is the reason why I have left this part of the code remain as is.  I just didn't feel that there was enough of a visual improvement from "1e2" to "10^{2}" to warrant it.

Rik <rik5>
Group administrator
Sat 26 Sep 2015 06:44:31 PM UTC, comment #1: 

The patch is attached.


(file #34993)

Pantxo Diribarne <pantxo>
Group Member
Sat 26 Sep 2015 04:42:31 PM UTC, original submission:  

Tick labels are currently displayed as %e formats in log axes. I find this ugly (and not ML compatible but that is not so important here) so I'll attach a patch when I have a bug n#.

There is a drawback though: until Octave has the ability of printing superscripts (see progress in bug #31468), the image output will be displaying e.g. "10^{2}" which in turn is not better (if not worst) than the current "1e2".


Pantxo Diribarne <pantxo>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34993:  power10.patch added by pantxo (2KiB - text/x-diff)

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (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
    2016-10-25 rik5 Dependencies- bugs #49437 is dependent
    2015-10-14 pantxo StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2015-09-29 rik5 Dependencies- Depends on bugs #31468
    2015-09-26 pantxo Attached File- Added power10.patch, #34993
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code