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

st: RE: I gather the graphics commands book is way out of conformity


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: I gather the graphics commands book is way out of conformity
Date   Sat, 27 Mar 2004 16:05:17 -0000

Part of this has been addressed by Phil Ryan 
and Dimitriy Masterov. See also specific comments below. 

Nick 
[email protected] 

Jon Ebeling
 
> I've tried several items from these pages of the graphics 
> command book, 
> from pages 379 - 381 and I will proceed to show you the problems:
> 
> Here is the one that works
> 
> . line le_m le_f year, legend(pos(5))
> 
> Then i make an adjustment and add:
> 
> . line le_m le_f year, legend(pos(5)) ring(0) legend(col(1))
> option ring() not allowed
> invalid syntax

Your mistake here is typing -ring(0)- separately. It is a suboption
of -legend()- and must be typed within a call to -legend()-. 

> Then I add the following:
> 
> This command and options statement is from page 381 in the 
> graphics text
> 
> . line le_m le_f year, legend(pos(5)) ring(0) col(1) lab(1  "Males") 
> lab(2  "Females") region(fcolor(gs15)
>  > ))
> option ring() not allowed
> invalid syntax
> r(198);

You made a similar mistake here. By adding an extra parenthesis after 

pos(5) 

you closed the -legend()- call and rendered the rest of the command 
illegal. In short, this is not exactly what is in the manual. 
 
> While I update my version of stata8 all the time, I'm wondering if I 
> have missed something. This seems quite odd to me since this material 
> comes right out of the text that is shipped with STATA8.
> 
> I would appreciate a response to this second problem I'm posting.

There were some typos in the Graphics manual, but these are 
not among them. Some are listed at 
http://www.stata.com/support/errata/#graph

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