01-12-2006 07:25 AM
01-12-2006 08:14 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-12-2006 10:12 AM
hi titou,
thanks for the additions but thats only the caption. I was looking for legend more like the one shown in the picture except that in the shown picture user enters the values but in the vi the legend I want, labview assigns colors to the input array, I just want to know what color it gives to which value.
Is that possible??
01-13-2006 01:17 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-13-2006 06:09 AM
Hi Titou,
you wrote " I think I'm not far.."
I agree!
This example
Shows how to do the invers of what is being asked. More info and links can be found in ths thread.
http://forums.ni.com/ni/board/message?board.id=170&message.id=158594#M158594
Where CC and I team up to offer similar ideas.
Three notes;
1) CW colors are not RGB but are BGR.
2) There is a one to one relation between the colors and the map values.
3) Map values must be ascending order.
I will leave the rest to you!
Ben
01-13-2006 06:48 AM - edited 01-13-2006 06:48 AM
HI Ben,
thanks for the information.
I have already checked that forum thread but in that 3d map the values for each color are assigned by the user but in my case I want to retrieve the values from the 3d plot I have. The values are assigned by labview and I want to see which values they are.
I hope I can get that somehow. I mean is there any Graph property or something for 3d surface plot frm where I can get the legend of that graph? In the above vi how can i get that colormap and colorvalue property for 3d surface plot??
(for the graph that i am talking about and for which I need legend please check the thread link i have mentioned on the top of this thread)
Message Edited by kmo on 01-13-2006 07:11 AM
01-13-2006 07:07 AM
01-13-2006 07:36 AM
Hi kmo,
Randall has now posted another good example.
Please adapt your code using his example as a guide and re-post your code if you have trouble.
"Try to teach how to fish..."
Ben
01-13-2006 11:08 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
02-10-2006 07:10 AM - edited 02-10-2006 07:10 AM
Message Edited by kmo on 02-10-2006 07:12 AM