Given 3 vector-pair, X
, Y
and Z
, how to generate the contour? I understand that we need to make use of the contour
plot. But the thing is that we need to pass in a 2x2 matrix for this argument, which presumably, is a matrix of Z corresponding to each X,Y pair. But this would mean that I have to go extra miles to create such a matrix by using griddata
interpolation first before talking about contour generation.
Is there any other more succinct method?