LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Ploting Different Points with Different Colours

Solved!
Go to solution

Hi, 

     I'm trying to make a graph with different colours for points. The input is a 2D array with x in 1st column, y in 2nd column, and 3rd column for colours. But the code shows there is an error. What is that, and is there any improvement?

 

thumbnail_image.png

0 Kudos
Message 1 of 2
(716 Views)
Solution
Accepted by topic author WilliamLin39

Hi William,

 


@WilliamLin39 wrote:

But the code shows there is an error. What is that,


Does the plot exist at the specific moment when you try to change it's properties?

From the error message I can say: the answer to this question is "No!"…

 


@WilliamLin39 wrote:

and is there any improvement?


Sure!

You need to create several plots when you want to set properties for several plots!

Right now you create only one plot - and with each iteration of the loop the graph is overwritten…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(704 Views)