02-12-2010 02:45 PM - edited 02-12-2010 02:47 PM
I use the Tubular LIne .VI to plot the deplacement of a person with GPS in a 3D graph. Now, I will like to plot this tube with only one color and no shade that I could select to represent and differentiate each person. I can not find how to do it with this VI. Is someone can help? Thank you
I tried every Property Node to replace ColorMapStyle with LineColor, PointColor and connecting numeric control...does not work!
BTW, what is the meaning of cw... in cwColorSpectrum?
I attached the Tubular Line VI.
Solved! Go to Solution.
02-12-2010 02:59 PM
"cw" is Component Works.
I think you want to set your ColorMapStyle to "cwNone"
See this thread for another thread on using the CW 3d graph.
Ben
02-13-2010 02:23 PM
I did this (attached) and it does not work...the trace is black no matter the number. The line width seems to work.
I might need this VI between the control and the LineColor...which I don't know where to find it in LabVIEW 2009.
Could you tell me where to find this VI?
...while, I am reading about cw 3D graph...from other tread.
Thank you
02-13-2010 04:38 PM
Copy n paste it.
I'm not sure where that one lives. i seldom use it.
Ben
02-13-2010 04:57 PM
I don't understand your reply.
I modified the Tubular Line VI to remove (or try to remove and have choice of fix color without shade) the ColorSpectrum. I looked at your clip and I set ColorMapStyle to none, connected a control on LineWidth and the LineColor. Then I attached a clip to show what I did . It does not work. If I look at your VI, you insert something between the control and the LineColor node (just outside the FOR loop); what is it? I suppose that it does not work because of that VI...
Thank you
FM
02-13-2010 07:39 PM
In that thread is the code illustrated. Download it and have fun.
Ben
02-14-2010 08:39 AM
You put me in the right direction. I was OK at the beginning, my mistake was I did not try number greater than 20 and I realyzed that there is millions of colors...I should had tried bigger number.
I use some code in your VI to provide a nice interface for choosing each color.
Thank you