LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to mark a text on XY plot

I am plotting a single plot on XY Graph and i have chosen point style for my values as Circle. I want to have a text display along with the points on the Plot.
Is there a way to do this. That is for every Y value point ,may be next to that point a small text because i have to describe some points in the plot as 'high' or 'low'.


Thank you, Hema
0 Kudos
Message 1 of 7
(3,397 Views)
You could add a cursor, and play with the cursor name and position. Cursors can be adressed programmatically using property nodes. Don't forget to select the "display cursor name" and the "snap to point" options.
See the attached example.

CC
Chilly Charly    (aka CC)
Message 2 of 7
(3,384 Views)
hi CC,

It works for single plot and one cursor. I have multiple plots and each of the plot should have multiple cursors in them. IS it possible to do this.

Thanks a lot. Hemaa
0 Kudos
Message 3 of 7
(3,372 Views)
HI ,

i found out how to plot multiple cursors for multiple plots but the cursor name is not displayed correctly. Some times its visible, but out of place. sometimes it is not to be seen.
0 Kudos
Message 4 of 7
(3,365 Views)
Hi Hema,

I modified CC's VI just a little bit. The limitation is that you can't create a cursor dynamically (at least I had trouble figuring out how). Therefore, you need to manually create at least as many cursors as you will need. You can then plot the data and then programmatically modify the cursor label and index. See the attached VI.

Hope this helps!

Message Edited by Travis H. on 05-26-2005 01:31 PM

Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 5 of 7
(3,351 Views)


Travis H. wrote:...The limitation is that you can't create a cursor dynamically (at least I had trouble figuring out how). Therefore, you need to manually create at least as many cursors as you will need.

Cursors can be created dynamically. You need to use the "cursor list" property node, and append a cursor cluster to the existing cursor list. You can similarly remove a cursor. See the attached vi.

CC
Chilly Charly    (aka CC)
Message 6 of 7
(3,344 Views)
Thanks for the help CC 🙂
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 7 of 7
(3,339 Views)