Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

color bar in visual basic

how to create colorbar similiar in matlab of contour plot in visual basic

Iam using 3dgraph control of ni vision and wish to display color bar along with the values

any help will be greaty appreciated

 

Y.Tyagi

0 Kudos
Message 1 of 4
(7,369 Views)

Hi,

 

I tried doing the same thing a few years ago.  Add a 2nd CWGraph3d object to your form and in the property pages

under Graph>3D set the view direction 'Towards Y-Z plane' and adjust the width of the plot to the desired size.

Plot the same data set as the 1st 3d Graph.

You will have to play around with the min/max values to get it to look right.  It's not great, but it's close to the Matlab colorbar

 

Hope this helps

 

Curt

0 Kudos
Message 2 of 4
(7,331 Views)

Hi,

 

Is your query solved? you should ideally update on the forum also whether your query is solved or not..

 

Regards,


Vaibhav

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 3 of 4
(7,323 Views)
No I want some good solution
0 Kudos
Message 4 of 4
(7,321 Views)