>> Home >> Products >> Stata 12 >> Contour plots

This page contains only historical information and is not about the current release of Stata. Please see our Stata 14 page for information on the current version of Stata.

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 14 for more about what was added in Stata 14.

The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ Watch us on YouTube