I have X coordinates
,Y coordinates
and Zcoordinates
, each stored in an array with n x 1 . (n rows,1 column)
.The contour plot in Matplotlib
allows to plot only if "*X and Y must both be 2-D with the same shape as Z, or they must both be 1-D such that len(X) is the number of columns in Z and len(Y) is the number of rows in Z.*"
How can I solve this issue?
Also the corresponding x,y,z values should be accessible.
Mixing of data points will cause error in my plot.