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

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

[Octave-bug-tracker] [bug #34158] axis with x_min>x_max


From: Matthias Jüschke
Subject: [Octave-bug-tracker] [bug #34158] axis with x_min>x_max
Date: Fri, 02 Sep 2011 17:11:16 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #3, bug #34158 (project octave):

For x- y- zlim.m there is a similar effect. As I found in 
/usr/share/octave/3.4.0/m/plot/private/__axes_limits__.m
the last case of the if-block

      else
        set (h, fcn, arg(:));
      endif

should be replaced by something like

      else
        if arg(1)>=arg(2)
          error('Axis limits must be increasing.')
        else
          set (h, fcn, arg(:));
        endif
      endif

In matlab, you can set a value to Inf, if it is the second, the axis is set to
arg(1)+1.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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