help-octave
[Top][All Lists]
Advanced

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

patch with interpolated color


From: RodgerWu
Subject: patch with interpolated color
Date: Tue, 1 Jun 2010 14:17:32 -0700 (PDT)

Hi, 

I am new to Octave and have been using Matlab for a long time.

In matlab I am able to use 'patch' to plot a polygon of any shape filled
with color interpolated based on colors specified for each vertex. 

I just found that 'patch' in Octave is great for uniform color and doesn't
support color interpolation at all. Is this true?

for example, how do I plot a triangle with vertexes at  [0 0; 1 0; 1 1] and
colors at each corner represented by 0, 1, 2 respectively?

Thanks for the helps!

Rodger
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/patch-with-interpolated-color-tp2239239p2239239.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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