help-octave
[Top][All Lists]
Advanced

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

How can I plot a matrix in a figure with different colors


From: pro_octave
Subject: How can I plot a matrix in a figure with different colors
Date: Fri, 12 Jul 2013 04:41:27 -0700 (PDT)

Y is a N by 3 matrix, and the 3th col's values are 1 OR 2, how can I plot Y
on a figure with two colors, which will be RED when Y[:,:,3]=1, and BLUE
when Y[:,:,3]=2... pls help me, I will great appreciate



--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-can-I-plot-a-matrix-in-a-figure-with-different-colors-tp4655539.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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