03-23-2023 11:01 AM
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?
Solved! Go to Solution.
03-23-2023 11:34 AM
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…