Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: lcolor not allowed


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: lcolor not allowed
Date   Thu, 16 Aug 2007 15:53:53 +0100

Sergiy's advice is good, except that 
I cannot see how an unofficial -twoway-
could have precedence over the official 
-twoway- unless you have hacked at your 
-adopath- in a way that is mightily inadvisable. 

My advice here is clear-cut. 

1. If you are not a Stata expert, never
let user-written commands have precedence over
official commands. 

2. If you are a Stata expert, you will
know that you should follow rule 1 anyway. 

Nick 
n.j.cox@durham.ac.uk 

Sergiy R.

> try the following two commands:
> 
> sysuse auto
> twoway line l w, lc(red)
> 
> this benchmark should work on all Stata versions, flavours, 
> and platforms.
> If it does not work, then some of the ADO files responsible for
> handling graphics might become corrupted (perhaps during an update).
> Make sure that you have not created your own command -twoway- which
> has priority in -adopath- over the standard -twoway-.
 

Davide Cantoni 

> > Thanks for your comments, Mike, but I'm afraid the problem is still
> > there. Getting to your questions:
> >
> > - Both versions are abolutely up-to-date, using update all 
> and update
> > swap afterwards.
> >
> > - I entered exactly the same commands on both computers. Up to the
> > last comma, parenthesis, line continuation sign.
> >
> > - I did not copy the command code in my previous email, 
> defiying, the
> > FAQ's, because I did not consider it essential to the problem that
> > lcolor does not work in any case. But here is one example:
> >
> > . twoway (line difftosynth_10000 year, lcolor(black)) (line
> > difftosynth_65 year, lcolor(gs12))
> > option lcolor() not allowed
> > r(198);
> >
> > It does not work in a simpler case, either:
> >
> > . twoway line difftosynth_10000 year, lcolor(black)
> > option lcolor() not allowed
> > r(198);
> >
> > - Again, all of these very same commands work on that other computer
> > running WinXP.
> >
> > - Now that I am trying, here's another thing that does 
> never work: lpattern():
> >
> > . twoway line difftosynth_10000 year, lpattern(dash)
> > option lpattern() not allowed
> > r(198);
> >

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