LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use XY Graph or Density Graph

I need to plot groups of points by different color in realtime display as attached.

 

May I use XY Graph or Density Graph?

 

Thanks.

Message Edited by turbot on 09-10-2009 11:43 PM
0 Kudos
Message 1 of 9
(3,811 Views)

An XY Graph gets you this pretty easily.

 

XYPoints.png 

Message 2 of 9
(3,797 Views)
May I know how to plot different spot in different color, thanks.
0 Kudos
Message 3 of 9
(3,786 Views)

it looks like darin had three seperate plots so go to the plot legend and right click it and select your different colors and line types

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 4 of 9
(3,781 Views)
May I know how to set and draw one point in a certain color by programming, thanks.
0 Kudos
Message 5 of 9
(3,768 Views)

hope this helps:

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 6 of 9
(3,764 Views)
and for multiple ones this:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 7 of 9
(3,761 Views)

turbot wrote:
May I know how to set and draw one point in a certain color by programming, thanks.

 

For control over individual points you have two options.

 

Use a Picture Control - You can draw individual points any where you want of any color. You will need to do your own sclaing, and mapping value to color. THis thread has a collection of links to Pciture Control Examples.

 

Use a 3D Graph - Force the perspective view only a single plane, Use a surface plot and map you color to the "W" vector. This approach will take care of scaling but you will have to figure out how to use the 3d graph.

 

Just trying to help,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 9
(3,739 Views)

I cheated in my example and simply generated the data all at once (just to show the look you could achieve).  Here is a quick and dirty example to update the graph as the points come in.  All you need to know ahead of time is how many different plots you want.

 

 

0 Kudos
Message 9 of 9
(3,715 Views)