octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41933] xlim etc should also recognize Inf as


From: anonymous
Subject: [Octave-bug-tracker] [bug #41933] xlim etc should also recognize Inf as axis function
Date: Sat, 22 Mar 2014 11:45:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41933>

                 Summary: xlim etc should also recognize Inf as axis function
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 22 Mar 2014 11:45:31 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Alick Zhao
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

I noticed a recent commit (89a8a90ac850, bug #37006) makes axis function
recognize Inf, -Inf as auto set axis limit for Matlab compatibility. But using
xlim/ylim/zlim with Inf still results in empty plot. Below is a simple script
to reproduce the bug.

$ cat test_xlim_inf.m
clear all; close all; clc;
x = 1:5;
figure; hold on; box on;
plot(x, x);
xlim([0 inf]);




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41933>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]