09-10-2009 11:41 PM - edited 09-10-2009 11:43 PM
I need to plot groups of points by different color in realtime display as attached.
May I use XY Graph or Density Graph?
Thanks.
09-11-2009 12:02 AM
An XY Graph gets you this pretty easily.
09-11-2009 12:45 AM
09-11-2009 01:10 AM
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
09-11-2009 04:20 AM
09-11-2009 04:43 AM
hope this helps:
09-11-2009 05:00 AM
09-11-2009 07:59 AM
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
09-11-2009 01:21 PM
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.