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:  Plotting Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich 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 Files:

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


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-19 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2014-03-18 pantxo Attached File- => Added inf_axis_bug37006.patch, #30938

    Back to the top

    Powered by Savane 3.3