help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fill + RGB colors produces only black plot


From: Paul
Subject: Fill + RGB colors produces only black plot
Date: Sat, 3 Jan 2015 10:04:19 -0800 (PST)

Hello everyone, I'm quite new to Octave.

I'm trying to use the fill function on Octave 3.8.2-4 with different RGB
color combinations.
Unfortunately what I get is typically black areas.

For example, using the demonstration on octave.sourceforge.net and changing
the colors, I get a black polygon on the left and a transparent one on the
right:

t1 = (1/16:1/8:1) * 2*pi;
t2 = ((1/16:1/8:1) + 1/32) * 2*pi;
x1 = sin (t1) - 0.8;
y1 = cos (t1);
x2 = sin (t2) + 0.8;
y2 = cos (t2);
h = fill (x1,y1,[0.5 1 0], x2,y2,[0.5 0 0.5]);

Do you have any ideas about this problem?

BTW I don't get this problem with line colors.

Hope it's not a silly question.
Thank you




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Fill-RGB-colors-produces-only-black-plot-tp4667974.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]