Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: semi 3D graphs


From   Lars Korsholm <[email protected]>
To   [email protected]
Subject   st: semi 3D graphs
Date   Wed, 26 Nov 2003 15:31:01 +0100 (MET)

Hi
I am investigating how to make 3D grafphs with stata.
The path I have taken is some kind of pseudo 3D graphs
where the third scale is given by a color intensity.
see an example on 
http://www.biostat.sdu.dk/~korsholm/TilAndre/pgr4.eps
http://www.biostat.sdu.dk/~korsholm/TilAndre/pgr4.pdf

As you see they are not perfect.
they were created with:

twoway ///
 (sc fathage mothage if pgr==1, msym(S) mcol(gs1)) msize(large) ) ///
 (sc fathage mothage if pgr==2, msym(S) mcol(gs2)) msize(large) ) ///
 (sc fathage mothage if pgr==3, msym(S) mcol(gs3)) msize(large) ) ///
 (sc fathage mothage if pgr==4, msym(S) mcol(gs4)) msize(large) ) ///
 (sc fathage mothage if pgr==5, msym(S) mcol(gs5)) msize(large) ) ///
....
 (sc fathage mothage if pgr==15, msym(S) mcol(gs15)) msize(large) ) ///
 , title("smothed estimates - graph 4") xsize(6) ysize(7) legend(off)

Is there any better suggestions on how to make semi 3D plots 
via 2D plots and color intensity as the third demension.

especial I would like to get rid of the white space inbetween
and I would like to have a more smooth/automatik method.

All hints will be highly apreciated

Kind regard
Lars





..............................................
: Lars Korsholm Ph.D.,                       :
:  Department of Statistics                  :
:  University of Southern Denmark            :
:  Sdr. Boulevard 23A, 2.                    :
:  DK-5000 Odense C                          :
: Phone +45 6550 3608                        :
: Mobil +45 3033 3617                        :
: Fax   +45 6595 7766                        :
: Mail  [email protected]                 :
: Web   http://www.biostat.sdu.dk/~korsholm  :
:............................................:






*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index