Tips (Utility, Computer Language, and etc.)
[gnuplot] array
Struggler J.
2021. 4. 14. 13:55
출처 - stackoverflow.com/questions/30749160/how-to-define-and-access-array-in-gnuplot
How to define and access array in GNUplot?
This is rather easy question or maybe too easy question. But i tried to find the way to done these already and could not find even in GNUplot document. Might be my mistake or misunderstood something
stackoverflow.com
gnuplot> array A[3] #Array definition
gnuplot> A[1]=2
gnuplot> A[3]=4
gnuplot> print A[1]
2
gnuplot> print A #Print the array, with empty A[2]
[2,,4]