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

st: Mismatched quote in -graph, title-


From   "James Harris" <James.Harris@anu.edu.au>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Mismatched quote in -graph, title-
Date   Tue, 10 Feb 2004 10:51:00 +1100

Dear stata-listers,

I'm not understanding the syntax for setting graph titles in Stata 8.2. The command 

. twoway (scatter i21_65m year), title ("Death") 
returns the error message
	unmatched quote

There's an easy work-around: 
. twoway (scatter i21_65m year), title ("Death"")

creates the correct graph! But this is hardly intuitive ... any comments?

My data is just as follows:

. list

     +----------------+
     | year   i21_65m |
     |----------------|
  1. | 1988       789 |
  2. | 1989       789 |
  3. | 1990       771 |
  4. | 1991       729 |
  5. | 1992       743 |
     |----------------|
  6. | 1993       726 |
  7. | 1994       652 |
  8. | 1995       603 |
  9. | 1996       549 |
 10. | 1997       505 |
     |----------------|
 11. | 1998       503 |
 12. | 1999       481 |
     +----------------+

Thanks for any help with this. 
 ==========================================
 
James Harris
 
National Centre for Epidemiology and Population Health
The Australian National University
CANBERRA ACT 0200
Australia
 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index