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

Re: st: Stata Question


From   Ulrich Kohler <[email protected]>
To   [email protected]
Subject   Re: st: Stata Question
Date   Wed, 5 Jan 2005 09:26:33 +0100

Mount Sinai wrote:
> I used STATA V7 to run the following statement and it
> worked fine.
>
> roccomp Dep in1 in2 in3 in4 in5, graph key("" "")
> yline(0) xline(0)
> symbol(oTSp.)
>
> But now w/ v8.2 I could not do it.
...
> Then if I do the following:
>
> roccomp Dep in1 in2 in3 in4 in5, graph yline(0)
> xline(0) symbol(oTSp.)
>
> I then can run the statement but get the following:
>
> (note: named style oTSp not found in class symbol,
> default attributes
> used

Among the options of -roccomp- all twoway options are allowed. In Stata 7 
-key()- and -symbol()- were valid twoway options. However, in Stata 8 -key()- 
is replaced by the much more powerful legend-options (see -help 
legend_options-), and -symobl()- is replaced by -msymbol()-. Within the 
parentheses of -msymbol()- the marker symbols were no longer specified with 
single letters, but with words, two letter abbreviations or one letter 
abbreviations. Marker symbols for different data areas therefore has to be 
separated by blanks.

A valid syntax of you command therefore might be (not tested):

. roccomp Dep in1 in2 in3 in4 in5, graph yline(0) xline(0) 
  msymbol(oh Th Sh p i) legend(off)


which uses "hollow" circles, triangles and squares. Change -msymbol()- to 
msymbol(o T S p i) if you want filled marker symbols (also see -help 
marker_options). 

Another poster has recommended to enter -version 7- before entering the 
command. Personally I would not do this. After all you have bought Stata 8, 
so you might want to use it. If you enter -version 7- you will not have 
access to the new graphics capacities, and many other new features of Stata 
8.

Hope this helps
uli


-- 
[email protected]
+49 (030) 25491-361


*
*   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