»  Home »  Products »  Features »  Contour plots
ORDER STATA

Contour plots


The 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:

Stata

Shop

Support

Company


The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn YouTube Instagram
© Copyright 1996–2023 StataCorp LLC   •   Terms of use   •   Privacy   •   Contact us