Home  /  Products  /  Stata 12  /  Contour plots

Contour plots were introduced in Stata 12.

See the latest version of contour plots. See all of Stata's graphics features.

See the new features in Stata 18.

ORDER STATA

Contour plots

The new command is twoway contour.

Or pull down the Graphics menu.

Either way, you can draw

or this

Let us show you how this works.

Imagine you start with these data:

That’s almost an ordinary two-way scatter of 126 observations, except that it is of three variables, and the third variable is encoded by color.

Anyway, start with those data, specify that you want Shepard interpolation, and you get this:

Or, specify that you want the default thin-plate spline, and you get this:

Back to highlights

See New in Stata 18 to learn about what was added in Stata 18.