Hi all,
I have data x = [-50:1:50], y = [-50:1:50] and corresponding z values for each (x,y) point. I am trying to use the data to create a contour of all data above a set z value (i.e. v = [val val]). The data set I have is perfectly symmetric about the y axis (i.e. z(x,y) = z(x,-y)) and yet when using contour(x,y,z,v) the contour plot is not symmetric. I have tried using surf on the data and using view to get a 2-d slice. This also shows these discrepancies. From reading some threads on surf it appears each pixel is surf is determined by the data in the upper left hand corner. I am assuming the problems I am having with contour stem from a similar underlying method used by the contour function. Has anyone else run into this problem or does anyone else have an idea as to how I might force contours to look the same on both sides of the y axis or a way to smooth the contours so the major differences go away? Any ideas are welcome.
Thanks in advance for the help.
Best Answer