The profileplot command also has an option to display the profile using medians instead of means.use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear profileplot read write math science socst, by(prog)
profileplot read write math science socst, by(prog) median
The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.