Jump to content
M.H.K

Select a set of points in a xy graph

Recommended Posts

Hi

I have a xy graph contains a number of points and I want to select a part of them similar to ROI and their colors be changed and also, we can select a number of ROI in that.

please help me.

1.jpg

Share this post


Link to post
Share on other sites

To be able to do this, you need to have every point as a one plot, and then you can use the PlotImage.Front property node to follow the mouse to draw a ROI on the graph, and then find the plots-points that are within the ROI and change the Color of those plots.

It might be easier to use a Picture Control Plot to start with.

Share this post


Link to post
Share on other sites
8 hours ago, MikaelH said:

To be able to do this, you need to have every point as a one plot, and then you can use the PlotImage.Front property node to follow the mouse to draw a ROI on the graph, and then find the plots-points that are within the ROI and change the Color of those plots.

It might be easier to use a Picture Control Plot to start with.

Hi MikaeIH and thanks for your reply.

I have a question about your help.

How Can I draw a ROI in xy graph?

Share this post


Link to post
Share on other sites
On 9/27/2016 at 2:22 AM, MikaelH said:

I've created an example for you.

Test.png

XY-GraphSelection.vi

Hi MikaeIH and thank you very much.It's exactly my goal.

I will try your example and if I have a question, I will say you.

Thank you again.

Share this post


Link to post
Share on other sites
12 hours ago, M.H.K said:

Hi MikaeIH and thank you very much.It's exactly my goal.

I will try your example and if I have a question, I will say you.

Thank you again.

No Worries, that's why we are here :-)
The property node that will let you know the Coordinate Offset is a property node that is "Secret", you can only select this if you put this into your LabVIEW.ini file.
SuperSecretPrivateSpecialStuff=True

If you don't want you use this property node, you can just use a constant value.


 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.