[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57783] Propertie "edgecolor" of the fill() fu
From: |
Patricio |
Subject: |
[Octave-bug-tracker] [bug #57783] Propertie "edgecolor" of the fill() function and the patch() function doesn't work correctly |
Date: |
Mon, 10 Feb 2020 09:38:14 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?57783>
Summary: Propertie "edgecolor" of the fill() function and the
patch() function doesn't work correctly
Project: GNU Octave
Submitted by: pyeste
Submitted on: Mon 10 Feb 2020 02:38:12 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.1.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
I've been playing with a few properties of the fill() function and the patch()
function, particularly those concerning the properties of the edge (outline),
and I've seen some differences between using "gnuplot" and "qt". This is the
example code that I've been using:
x = 1:365;
y1 = ones(1,365);
y2 = 2*ones(1,365);
fx = [x,fliplr(x)];
fy = [y1,fliplr(y2)];
f = fill(fx,fy,'b'); % Or patch(fx,fy,'b')
set(f,'facealpha',0.1)
set(f,'edgecolor','none')
xlim([0 366])
ylim([0 3])
While this code produces a blue rectangle with some transparency and without
edges using "qt", in the case of "gnuplot" setting the 'edgecolor' to 'none'
doesn't work and the edges are plotted. I've also tried to set the
'edgealpha' property to 0.1 (as 'facealpha'), but doesn't work for neither
"qt" nor "gnuplot". It seems that the 'edgealpha' property hasn't been
implemented yet according to the documentation of patch objects
(https://octave.org/doc/interpreter/Patch-Properties.html)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57783>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57783] Propertie "edgecolor" of the fill() function and the patch() function doesn't work correctly,
Patricio <=