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

 
 

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

Submitter:  Patricio <pyeste>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Mon 10 Feb 2020 02:38:12 PM UTC, original submission:  

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)

Patricio <pyeste>

 

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

Attach Files:
   
   
Comment:
   

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
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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 &quot;edgecolor&quot; 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 -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code