LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

legend for 3d graph

You have an array of nine values from the 3d Graph legend.  You need to convert those 9 values in to 256 values for the intensity graph.  I have attached a vi that will do the conversion.


Randall Pursley
Download All
Message 11 of 18
(2,477 Views)
what can i say..... just great !!! thanks !
0 Kudos
Message 12 of 18
(2,469 Views)
hi,
 
now that i have the legend for this 3d graph, i want to save this graph as jpeg. I tried as you can see it in attached vi but it doesnt save the legend. Anyone has any idea how that can be done!?
 
thanks in advance.
0 Kudos
Message 13 of 18
(2,454 Views)

I knew someone had to have solved this problem already.

Thanks Randall, this is very close to what I needed, a couple of mods and I was done.

Way cool...

0 Kudos
Message 14 of 18
(2,405 Views)

Hi,

I've used the code given at the top of this page - thanks very much!

I have one problem though as you can see in the attached vi.  I want the contour colourmap on the 3D graph to go from (blue/cyan/green/yellow/orange/red) not from black to white.  I've been through all the code and i can't find what's wrong (you can see the intensity map has turned some red regions yellow and represents this on the colourmap). The array going into the final 'convert to instensity' seems right - i.e. 6 inputs representing the colours above. Has anyone got any ideas please?!

 

Thanks

Chris

Download All
0 Kudos
Message 15 of 18
(2,057 Views)
Dear Chris,

The array input to the Intensity Graph ColorTbl Property is incorrect.

This can be observed by adding an indicator to the "appended array 2" output of the Convert to Intensity.VI.  If you change the Display Format of the indicator from Decimal to Hexadecimal, you will see that instead of going from FF0200 (Red = 255, Green = 2, Blue = 0) in element 246 to FF0000 (Red = 255, Green = 0, Blue = 0) in element 247, the array goes from element 246 to FEFF00 (Red = 254, Green = 255, Blue = 0) in element 247.  This is the code for bright-yellow, just as you see in the intensity graph.



I hope this points you in the right direction.



Message Edited by Pie56694 on 06-05-2008 02:42 PM
0 Kudos
Message 16 of 18
(2,037 Views)

I'm in the same situation. I also need to save the legend with the graph in a jpeg. Can anyone say how to do that?

Cheers 

0 Kudos
Message 17 of 18
(1,942 Views)

awesome,

Thank you very much

0 Kudos
Message 18 of 18
(1,508 Views)