cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

legend for 3d graph

I want to know how to make a legend for 3d graph.
 
I actually posted my question on the following thread but since there havent been any replies, I thought I could just post it here.
 
 
Please click on the link for my question.
 
Thanks.
 
0 Kudos
Mensagem 1 de 18
12.103Exibições
Hello,

I just modify the example I found on the previous thread. I added a few things, if you play a bit with these things you should be able to do something close to what you're talking about.. I hope.

Be inspired 😉 hope this help.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Mensagem 2 de 18
12.095Exibições

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??

0 Kudos
Mensagem 3 de 18
12.083Exibições
Hi kmo,

I'm sure it is possible to get a color map... but I'm affraid I could'nt get to the result you wish Smiley triste I think I'm not far..
Maybe somebody knows hox to get it from the variant, I am not used to use these "tools": Sory...

If you don't need a real 3D graph, it might be easier to use an intensity graph.

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Mensagem 4 de 18
12.066Exibições

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Mensagem 5 de 18
12.062Exibições

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

0 Kudos
Mensagem 6 de 18
12.058Exibições
I created this vi a little while ago.  Is this kind of what you are looking for?
Randall Pursley
Mensagem 7 de 18
12.048Exibições

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Mensagem 8 de 18
12.043Exibições
Hi Ben n Randall.

Thanks alot for your help, it always a great pleasure to be taught to fish 😉

TiTou

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Mensagem 9 de 18
12.035Exibições
thanks a lot guys for all the help till now sorry i was off this task for a while so coudnt give the feedback.
 
now i am back on this task again. Till now I have managed to make a legend for the 3d graph but the coloring of the legend is little messed up. Please see the attached vi.
 
i would really appreciate any help on this.

Message Edited by kmo on 02-10-2006 07:12 AM

0 Kudos
Mensagem 10 de 18
11.972Exibições