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

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

[Octave-bug-tracker] [bug #47966] axes(''yaxislocation', 'zero') does no


From: anonymous
Subject: [Octave-bug-tracker] [bug #47966] axes(''yaxislocation', 'zero') does not work.
Date: Fri, 20 May 2016 11:29:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 Safari/537.36

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

                 Summary: axes(''yaxislocation','zero') does not work.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 20 May 2016 11:29:56 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Dmitry
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Firstly, according to matlab documentation, 'yaxislocation' has can take one
of three values: 'left' (default) | 'right' | 'origin'.
'origin' — Display the y-axis so that it passes through the origin point
(0,0).
http://www.mathworks.com/help/matlab/ref/axes-properties.html

Octave has 'zero' instead of 'origin' and following code does not place y axis
through zero:

axes('xlim',[-1 1],'yaxislocation','zero','box','off');




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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