M.H.K Posted September 24, 2016 Report Share Posted September 24, 2016 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. Link to comment
MikaelH Posted September 25, 2016 Report Share Posted September 25, 2016 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. Link to comment
M.H.K Posted September 26, 2016 Author Report Share Posted September 26, 2016 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? Link to comment
MikaelH Posted September 26, 2016 Report Share Posted September 26, 2016 Use the property node called: PlotImage.Front, this value accepts Picture control data. Link to comment
Popular Post MikaelH Posted September 26, 2016 Popular Post Report Share Posted September 26, 2016 I've created an example for you. XY-GraphSelection.vi 3 Link to comment
M.H.K Posted September 28, 2016 Author Report Share Posted September 28, 2016 On 9/27/2016 at 2:22 AM, MikaelH said: I've created an example for you. 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. Link to comment
MikaelH Posted September 28, 2016 Report Share Posted September 28, 2016 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. Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now