bugGNU Octave - Bugs: bug #39401, EdgeAlpha/EdgeLighting properties...

 
 

bug #39401: EdgeAlpha/EdgeLighting properties not working with fill()/patch()

Submitter:  Mark Duxbury <notmyusername>
Submitted:  Tue 02 Jul 2013 09:40:36 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.6.4 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Nov 2016 09:10:55 PM UTC, comment #2: 

No response from OP for several years, the original example posted here is faulty, so hasn't been reproducible. If this bug is still valid, more information can be provided or a new bug report filed.

Mike Miller <mtmiller>
Group Member
Fri 19 Jul 2013 10:11:52 PM UTC, comment #1: 

I can't get the code sample to work.  When I try just the fill command by itself I get


h=fill([90,210,210,90],[-.8,-.8,.8,.8])
h = -1.5020
error: __go_draw_axes__: A(I): index out of bounds; value 1 out of bound 0
error: called from:
error:   /usr/local/share/octave/3.6.4/m/plot/private/__go_draw_axes__.m at line 735, column 30
error:   /usr/local/share/octave/3.6.4/m/plot/private/__go_draw_figure__.m at line 167, column 19
error:   /usr/local/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m at line 86, column 5


This occurs with either backend.

Rik <rik5>
Group administrator
Tue 02 Jul 2013 09:40:36 PM UTC, original submission:  

The EdgeAlpha and/or EdgeLighting properties do not seem to have an effect on Fill() or patch() plot objects.  Example code:

f1=figure(1)
clf;
hold on
grid on
h=fill([90,210,210,90],[-.8,-.8,.8,.8]);
set(h,'FaceColor',[0,0,0]);
set(h,'FaceAlpha',0.25);
set(h,'EdgeColor','none');
set(h,'EdgeAlpha',0);
set(h,'EdgeLighting','none');
axis([50,250]);

What I expect is a totally flat, featureless transparent rectangle.

What I get is a transparant rectangle but nothing I try gets rid of the edge of the rectangle.   I have tried various values for EdgeAlpha without success.  Same for EdgeLighting.

Octave 3.6.4 using AquaTerm on OS X 10.6.8 via Homebrew

Mark Duxbury <notmyusername>

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by notmyusername (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-16 mtmiller StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code