bugGNU Octave - Bugs: bug #45388, Implement axes...

 
 

bug #45388: Implement axes "ticklabelinterpreter" property

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Wed 24 Jun 2015 05:45:22 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Pantxo Diribarne <pantxo>
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 25 Jun 2015 05:11:06 PM UTC, comment #5:

I pushed 2 csets here:

I didn't find more uses of axes "interpreter" property than what I mentioned in comment #3 .

Closing report.

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.
Wed 24 Jun 2015 06:34:10 PM UTC, comment #4:

Totally fine to introduce the changes in small chunks.

Rik <rik5>
Project Administrator
Wed 24 Jun 2015 06:03:40 PM UTC, comment #3:

Yes, actually I found a few others:

  • Matlab defines a "interpreter" property, legend objects specific, that is used to specify how legend entries should be interpreted. That is currently how Octave uses it, so the property should simply be added in legend.m.
  • In polar.m, _go_draw_axes_.m, cla.m, "interpreter" should be replaced by "ticklabelinterpreter".

To keep things sizable, I may push the first patch which itself just makes use of an existing property. Then I'll implement the above mentioned mods (and others that I may discover) in a second step. Is that ok?

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.
Wed 24 Jun 2015 04:11:39 PM UTC, comment #2:

The existing "interpreter" property is used in legend.m. I think that is the only location, but it means you might want to investigate before removing it completely.

Rik <rik5>
Project Administrator
Wed 24 Jun 2015 05:48:26 AM UTC, comment #1:

I attached a patch that I'll push soon.

My only remaining question is whether the patch should also remove the former unused axes "interpreter" property (Octave only) that was mean to be used for this purpose but that has never been used.

(file #34304)

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.
Wed 24 Jun 2015 05:45:22 AM UTC, original submission:

The "ticklabelinterpreter" has been added to the list of axes properties but is currently unsused. This prevents the use of special characters or powers of ten in tick labels.
I'll provide a patch as soon as I have a bug n#.

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34304:  fix_interpreter.patch added by pantxo (6KiB - text/x-diff)

 

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 pantxo (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Jun 2015 05:11:06 PM UTCpantxoStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Wed 24 Jun 2015 05:48:26 AM UTCpantxoAttached File-=>Added fix_interpreter.patch, #34304
      StatusIn Progress=>Patch Submitted

    Back to the top


    Powered by Savane 3.1-cleanup1