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

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

[Octave-bug-tracker] [bug #44502] zoom.m docs for 3D plots incorrect?


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44502] zoom.m docs for 3D plots incorrect?
Date: Tue, 10 Mar 2015 20:37:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

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

                 Summary: zoom.m docs for 3D plots incorrect?
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 10 Mar 2015 09:37:32 PM CET
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

help zoom gives:

Given a numeric argument greater than zero, zoom by the given
factor.  If the zoom factor is greater than one, zoom in on the
plot.  If the factor is less than one, zoom out.  If the zoom
factor is a two- or three-element vector, then the elements
specify the zoom factors for the x, y, and z axes respectively.


Trying to set zoom factor for x & y, then x,y & z-axes:

>> zoom ([2 2])   # OK
>> zoom ([2 2 2])
error: zoom: invalid factor
error: called from
    zoom at line 107 column 11
>>


The switch statement in zoom.m starting on L.101 clearly has no provisions for
zoom factors in 3D, unlike the texinfo docs state.

(I hit this when investigating bug #44323 to check if I had overlooked the
obvious)





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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