08-15-2008 06:07 AM
Hi, i'm plotting a 3d graph with a set sphere, but i would like to set all the vectors [see attatchment lv 8.2] to the same colour, without colour shading, and set the sphere colours.
These are availible through the 3d properties bar, but this is inconvient for large amounts of vectors.
I've had a good look through 3d properties but i can't see the colour set for anything except the background, which i've placed into the programme, and the graph bars.
Help! - if its possible!!
VI attatched!!
08-15-2008 05:12 PM - edited 08-15-2008 05:12 PM
I believe if you just set the ColorMapStyle to "None" it should do what you want. For example (inside your for-loop):
08-18-2008 05:24 AM
Fantastic, on a related question, how is the colour determined on the property node on:
linecolor &
pointcolor?
if i create a constant it gives me a number, and it seems to follow the general pixel definition for 0 to255, but it will only shade through the reds, how can you make it shade through the greens and blues as well to get different colours?? - image attatched.
chears.
08-18-2008 05:43 AM - edited 08-18-2008 05:44 AM
What you wrote makes sense since CW cololrs are BGR instead of RGB (one byte for each). Take alook at the code I posted in this thread.
This is how I set the line color.
Ben
08-18-2008 07:11 AM
That looks hopeful, have you got the code, or the part with this in, i looked through the page you linked to but i couldn't see a VI.
I ask mainly because i don't know what goes on inside your sub-vis at the end.
chears.
08-18-2008 07:23 AM
Take a closer look. All of the code is there.
Ben
08-18-2008 07:26 AM
ahh found it, it was .zip, i was looking for .vi
my bad, thank you for your help!