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

RE: st: RE: Drawing an arrow from textbox to point [Stata 8]


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Drawing an arrow from textbox to point [Stata 8]
Date   Wed, 18 May 2005 18:22:03 +0100

Symbolically, || points Stata 8 and 9 users onwards and upwards
(recall that only in 9 do you get arrows). 

Syntactically, this was introduced in Stata 8. Have a look 
at [G] graph twoway. 

In 9, the separator notation has been applied elsewhere, 
with -xtmixed- success. 

Unix-lovers will recall the pipe notation of their favourite
OS (imitated in a broken way by MS-DOS). 

Nick 
[email protected] 

P.S. you are right that I assumed people would realise
this was a single command line. 

Eric G. Wruck
 
> What you have below I just pasted in the do-Editor & it 
> worked perfectly.  Before you didn't have the /// 
> continuation & I had mistakenly thought that that was what 
> the || was for.  So what does the || denote & where would I 
> read about it?
 
> >The -lcolor()- point is explained in another posting.
> >
> >I can't reproduce your other error. This works for me
> >in 8.2 and 9.0. Is what you typed exactly equivalent?
> >
> >sysuse auto
> > 
> >scatter mpg weight, text(41 2650 "top car") ///
> >         || scatteri 41 2100 41 2500 , recast(line) ///
> >         || scatteri 41 2100 41.3 2200, recast(line) ///
> >         || scatteri 41 2100 40.7 2200, recast(line)  legend(off)
> >
> >Nick
> >[email protected]
> >
> >Eric G. Wruck
> > 
> >> Like Raphael, I also obtained an the invalid option error (on
> >> lcolor).  I then took out the lcolor & recast was flagged as
> >> a syntax error.  I tried this both with version statements
> >> 8.2 & 9.0 & obtained the same results both times.  In the
> >> past I have labored with hyphens, greater-than & less-than
> >> symbols to try to create "arrows".  This approach worked ok
> >> but was somewhat unsatisfactory -- but not so bad so as to
> >> tempt me to bring my data over to DeltaGraph.  I see Nick
> >> Winter has pointed out pcarrow in Stata 9 & I look forward to
> > > familiarizing myself with that.

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