[Top][All Lists]

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

[Octave-bug-tracker] [bug #35004] Plotting: Nonsensical axis values caus

From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35004] Plotting: Nonsensical axis values cause hang for label commands
Date: Mon, 12 Dec 2011 15:00:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Update of bug #35004 (project octave):

                  Status:               Need Info => Confirmed              


Follow-up Comment #7:

I tried the commands below on Octave-3.4.3 from Fink.

semilogx (1:10)
axis ([1, 10, NaN, Inf])
title title

Octave hung on the title command.  After a few ctrl+C, the core dumped.

I think the xlim, ylim, zlim, clim (others?) should be checked when set to be
sure they have non-NaN values.

I checked the behavior of matlab ...

>> figure
>> set (gca, 'ylim', [NaN, Inf])
Error using set
Bad property value found.
Object Name :  axes
Property Name : 'YLim'
Values must be increasing and non-NaN.
>> get (gca, 'ylim')

ans =

     0     1

>> set (gca, 'ylim', [-Inf, Inf])
>> get (gca, 'ylim')

ans =

  -Inf   Inf

For the last example, the displayed plot had y-limits of [0,1].

The crash will be more difficult to track down.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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