I have a dataframe data[n]
Each n = 2 column list containing x, y values
I need to determine the maximum range of all X's and the the maximum range of all Y's (for charting purpose).
What's the best way to do this? other than looping through each pair.
X1 Y1 X2 Y2 X3 Y4
1 10 7 12 30 23
5 13 9 15 12 4
7 16 4 3 1 2
I'm looking to calculate :
Min X = 1 Max X = 30
Min Y = 2 Max Y = 23
I don't see any way to do it other than loop through pairs as suggested.