bugGNU Octave - Bugs: bug #37006, axis() does not accept -Inf/Inf as...

 
 

bug #37006: axis() does not accept -Inf/Inf as indication to do autoscaling

Submitted by:  Rik <rik5>
Submitted on:  Tue 31 Jul 2012 11:00:17 PM UTC  
 
Category: PlottingSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 19 Mar 2014 01:01:02 AM UTC, comment #2:

Lots of patches from you lately, thanks. I did some variable renaming to take advantage of the isinf() function that already exists. I applied the patch on the default branch (http://hg.savannah.gnu.org/hgweb/octave/rev/89a8a90ac850).

Rik <rik5>
Project Administrator
Tue 18 Mar 2014 10:10:25 AM UTC, comment #1:

Attached is a patch.

(file #30938)

Pantxo Diribarne <pantxo>
Project Member
Tue 31 Jul 2012 11:00:17 PM UTC, original submission:

Matlab accepts -Inf or Inf to be one bound of an axis command. This is an indication to use autoscaling on that particular bound.

For example,

Since the X data begins at 1, the actual axis after the command above should begin at an autoscaled point such as 0 or 1 and continue only until the hard limit of x=5.

This would be a nice feature to emulate.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30938:  inf_axis_bug37006.patch added by pantxo (2kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Updated the item)
  • -unavailable- added by rik5 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Mar 2014 01:01:02 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 18 Mar 2014 10:10:25 AM UTCpantxoAttached File-=>Added inf_axis_bug37006.patch, #30938

    Back to the top


    Powered by Savane 3.1-cleanup