[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59534] color format arguments like "black" do
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #59534] color format arguments like "black" do not work in plots |
Date: |
Tue, 24 Nov 2020 12:24:12 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0 |
URL:
<https://savannah.gnu.org/bugs/?59534>
Summary: color format arguments like "black" do not work in
plots
Project: GNU Octave
Submitted by: hardy
Submitted on: Tue 24 Nov 2020 05:24:10 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
I have just seen, that in Matlab the following format argument works as
expected:
plot (1:10, 2:11, '.-black');
This gives a proper plot with a black line in Matlab (tested with Rr2019b).
But it gives an error message in Octave (version 5.2.0).
I assume that other "color names" will also work in Matlab. I could try to
generate a list of them, if needed.
I do know many workarounds for this, e.g. '.-k' would work fine in Octave. But
nevertheless this makes Matlab m-files throw an error when using them in
Octave (as I did).
This syntax also looks 'nice' (read: human readable) to me. So maybe we should
add it to Octave as well?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59534>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59534] color format arguments like "black" do not work in plots,
Hartmut <=
- [Octave-bug-tracker] [bug #59534] color format arguments like "black" do not work in plots, John W. Eaton, 2020/11/24
- [Octave-bug-tracker] [bug #59534] color format arguments like "black" do not work in plots, Rik, 2020/11/25
- [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot, Rik, 2020/11/26
- [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot, Rik, 2020/11/26
- [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot, Hartmut, 2020/11/27
- [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot, Rik, 2020/11/27
- [Octave-bug-tracker] [bug #59534] Long form color like "black" not accepted in LineSpec for functions like plot, Rik, 2020/11/29