LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to choose some points of graph and make them highlight

hi,
   i am a learner. i am sorry to disturb you but i really need your help. there, i  build a graph and i want to choose some points of it and make them more obviously just like the picture as follow.
   thanks and best wishes for u
0 Kudos
Message 1 of 6
(3,248 Views)
Hi xyl,
how many of this points do you need? You can use cursors. The attached picture shows, how it can look like.

Hope it helps.
Mike
0 Kudos
Message 2 of 6
(3,241 Views)
Two easy possibilities:
 
(1) Use the plot images property:
Open the example finder and look for the following example: Graph Plot Area Images.vi
 
(2) Use annotations:
look for example: Programmatically Annotate a Graph.vi
0 Kudos
Message 3 of 6
(3,230 Views)

hi, Mike

   thanks for your answer. First of all, the points will not be the max nor min number and the quantity of the points is variable. it will be 2 or 5, it also will be more than 100, just according to the need of you .And of course , the quantity of the points will be less than the total points of the graph.  so, i think using cursors is not a best choise. Is there another method? thanks

   xyl

 
0 Kudos
Message 4 of 6
(3,164 Views)

hi, altenbach

   thanks. it seems the example of  "programmatically annotate a graph.vi" has the same results as i want. but the points i choose are more than 2 and they are random. i am trying to learn how to slove the problem. thanks

 

  xyl

0 Kudos
Message 5 of 6
(3,161 Views)


xyl wrote:

thanks. it seems the example of  "programmatically annotate a graph.vi" has the same results as i want. but the points i choose are more than 2 and they are random. i am trying to learn how to slove the problem. thanks


Well, just make a subset of the datapoints that you want to annotate and then annotate them in a loop.
 
Seems easy enough. Are you having difficulties with this?
0 Kudos
Message 6 of 6
(3,143 Views)