bugGNU Octave - Bugs: bug #57783, [gnuplot] Property...


bug #57783: [gnuplot] Property "edgecolor" of the fill()/patch() functions doesn't work correctly

Submitted by:  Patricio <pyeste>
Submitted on:  Mon 10 Feb 2020 02:38:12 PM UTC  
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  5.1.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 16 Feb 2020 06:24:31 PM UTC, comment #1: 

The gnuplot toolkit in Octave is a secondary toolkit offered for users who, for whatever reason, can not use an OpenGl toolkit such as "qt" or "fltk".  The largest number of these users are programmers using Mac OS.

If you do have the choice, which you should on Linux, then use the "qt" toolkit and don't bother with the gnuplot one.  The gnuplot one is not as developed, has missing features, and receives far less attention.

Rik <rik5>
Project Administrator
Mon 10 Feb 2020 02:38:12 PM UTC, original submission:  


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')
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)

Patricio <pyeste>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by pyeste (Submitted the item)
  • -email is unavailable- added by pyeste

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-16 rik5 CategoryPlotting => Plotting with gnuplot
        StatusNone => Confirmed
        SummaryPropertie "edgecolor" of the fill() function and the patch() function doesn't work correctly => [gnuplot] Property "edgecolor" of the fill()/patch() functions doesn't work correctly
    2020-02-10 pyeste Carbon-Copy- => Added pyeste@ugr.es

    Back to the top

    Powered by Savane 3.5