[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58499] Axis Property xaxislocation has an inc
From: |
Stanley Normile |
Subject: |
[Octave-bug-tracker] [bug #58499] Axis Property xaxislocation has an incorrect value in its description |
Date: |
Thu, 4 Jun 2020 12:52:02 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 |
URL:
<https://savannah.gnu.org/bugs/?58499>
Summary: Axis Property xaxislocation has an incorrect value
in its description
Project: GNU Octave
Submitted by: meche
Submitted on: Thu 04 Jun 2020 04:52:00 PM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The axis properties xaxislocation and yaxislocation documented here:
https://octave.org/doc/v4.0.1/Axes-Properties.html list the possible options
as:
xaxislocation: {"bottom"} | "top" | "zero"
yaxislocation: {"left"} | "right" | "zero"
The following code sets the xaxislocation to "zero"
figure
plot([0 1],[0 0])
axis([-1 1 -1 1])
grid on
ax = gca;
set(ax, "xaxislocation", "zero");
It produces the error:
error: invalid value = zero
Running the above code with the value "origin" used instead of "zero" produces
the desired result. The correct options for xaxislocation should be:
xaxislocation: {"bottom"} | "top" | "origin"
yaxislocation: {"left"} | "right" | "origin"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58499>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58499] Axis Property xaxislocation has an incorrect value in its description,
Stanley Normile <=