LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph : Plot point by point

Solved!
Go to solution

Hi Andrew,

 

I think waht I am tryin to do is slightly different to what you have done. Let me explain more. Let;s say I have an array 'A'  which has 50 numbers. Number by number I want to check if the values fall between let's say between 0-10, 10-20, 20-30 and so on. If it falls between 0 -10 I want to plot that value in 'RED' color, if the values falls between 10-20 I want to plot that point in "blue" color and so on.

 

This is impossible for me to figure out.

 

I hope you understood what I just said 🙂

 

It would be of great help if you could help me with this.

 

Regards,

Chathuri

0 Kudos
Message 11 of 15
(1,831 Views)
Solution
Accepted by topic author Chathuri

Hi Cathuri,

 

I have attached a new VI. In this VI, there is an array of 6 elements, numbers one to six. The program will then sort out the numbers into separate arrays; one with numbers 5 & 6, the other with 3 & 4. Once this has been done, it will remove padding zeros and plot the data sets on two different plots in the X Y Graph. I haven't added the logic for 1 & 2 since it is the same as the 2 previous pieces of logic. My suggestion to you would be to pass through your x values in a simlar manner to the Y values. 

 

I hope this makes sense, please let me know how you get on.

 

Thanks,

Andrew McLennan
Applications Engineer
National Instruments
0 Kudos
Message 12 of 15
(1,809 Views)

Hey thanks alot for the solution. I think this is just fine. 🙂

 

0 Kudos
Message 13 of 15
(1,795 Views)
Cani have this VI for labview 8.2 please..
Labview 8.2
Learner
0 Kudos
Message 14 of 15
(1,772 Views)

Hi All,

 

Attached is 8.2 version of the VI.

 

thanks,

Andrew McLennan
Applications Engineer
National Instruments
Message 15 of 15
(1,758 Views)