Dear All,
I have encountered the following problem, seemingly the same plot is sometimes drawn incorrectly, and sometimes correctly. Consider the following code:
Which produces the image below.
Why do the missing observations matter in this case?
Aren't they supposed to be ignored by the contour plot command?
If they are not ignored, what is the logic for treating {x=.,y=.,z=.} ?
Where does the asymmetry arise from?
Thank you, Sergiy Radyakin
PS: this is not the most recent version of Stata, (I know), but I have to stick to this version for a while.
If this issue has been already found/fixed, sorry for the alert.

I have encountered the following problem, seemingly the same plot is sometimes drawn incorrectly, and sometimes correctly. Consider the following code:
Code:
// Stata/MP 16.0 for Windows (64-bit x86-64) Revision 02 Jul 2019 // Compile number 797 version 16.0 clear all input x y z 10 10 100 20 20 100 10 20 100 20 10 100 15 15 50 end twoway contour z x y, name(correct) title(correct) interp(shepard) clear input x y z 10 10 100 20 20 100 10 20 100 20 10 100 15 15 50 end set obs 10000 twoway contour z x y, name(incorrect) title(incorrect) interp(shepard) graph combine correct incorrect, xsize(12) ysize(5) // end of file
Why do the missing observations matter in this case?
Aren't they supposed to be ignored by the contour plot command?
If they are not ignored, what is the logic for treating {x=.,y=.,z=.} ?
Where does the asymmetry arise from?
Thank you, Sergiy Radyakin
PS: this is not the most recent version of Stata, (I know), but I have to stick to this version for a while.
If this issue has been already found/fixed, sorry for the alert.
Comment