GRAPH3D: Stata module to draw colored, scalable, rotatable 3D plots


graph3d for Stata

This page illustrates the use of graph3d.ado for Stata. See Stata. To download the graph3d package including the ado file type

Before running any of the examples, set up the exemplary dataset by running

Example 1: Default 3D-Plot

Example 2: Default 3D-Plot rotated by 75 degree about

the width-axis

Example 3: Wireframe default 3D-Plot

Example 4: Two-colored 3D-Plot

Example 5: Two-colored 3D-Plot with changing markers

Example 6: Equidistantly two-colored 3D-Plot

with changing markers

Example 7: Five-colored 3D-Plot with changing markers

Example 8: Grey scale 3D-Plot

Example 9: Snowball 3D-Plot

Example 10: Default 3D-Plot with outer grid-cuboid

Example 11: Default 3D-Plot with outer and inner grid-cuboids

Example 12: Perspective 3D-Plot

Example 13: Four-colored 2D-Plot

Example 14: Growing 3D spiral

Example 15: Spining 3D sphere in 16:9

Example 16: Spining 3D sphere in 1:1

Example 17: Rotating banana function


Robin Jessen
Freie Universitšt Berlin

Davud Rostam-Afschar
Freie Universitšt Berlin and DIW Berlin