From: saurabh Srivastava on 3 Feb 2010 17:24 I have generated a cube data for all the faces of a cube. What I want to do now is, assign a different color to each face data i.e. say red to one face data, blue to other face and so on. But the data coordinate (x,y,z) should not be change. please keep in mind that data are scattered data. Can anyone help me....plzz it raelly very urgent......
From: ImageAnalyst on 4 Feb 2010 08:07 On Feb 4, 3:24 am, saurabh Srivastava <saurabhsrvas...(a)gmail.com> wrote: > I have generated a cube data for all the faces of a cube. What I want to do now is, assign a different color to each face data i.e. say red to one face data, blue to other face and so on. But the data coordinate (x,y,z) should not be change. please keep in mind that data are scattered data. Can anyone help me....plzz it raelly very urgent...... ------------------------------------------------ Have you checked out the patch() function?
From: saurabh Srivastava on 8 Feb 2010 15:09 The patch command will color the face of the cube but I have data in scatter form. And I want to assign color value to each data point of a face with same color. Hope u understand my problem.
From: us on 9 Feb 2010 01:44 saurabh Srivastava <saurabhsrvastav(a)gmail.com> wrote in message <1468262640.134593.1265695823109.JavaMail.root(a)gallium.mathforum.org>... > The patch command will color the face of the cube but I have data in scatter form. And I want to assign color value to each data point of a face with same color. Hope u understand my problem. a hint: help scatter; % <- look at the 4th input arg... us
From: saurabh Srivastava on 8 Feb 2010 16:33 It will change the color but will not show the RGB value with data cursor. I have to use the RGB along with 3D coordinates value for each data point further for my work.
|
Next
|
Last
Pages: 1 2 Prev: simulink model Next: c mex file and problems with reallocation of the memory |