You have tripped up on a misfeature which
should be documented, or worked around.
I'll attend to it in the next revision.
-triplot- needs to play
with a number of observations somewhere between
2 and 3 times the number of labels plotted.
This doesn't usually bite except with very
small datasets. It is a consequence of the way that labels
and grid lines are implemented by placing the
information in temporary variables.
In your case the labels will be 0 20 40 60 80
100, so you need to -set obs- to 16 or more.
You don't need to add data.
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Friedrich
> Huebler
> Sent: 30 January 2004 15:27
> To: [email protected]
> Subject: st: Re: -triplot- revised on SSC
>
>
> --- Nick Cox <[email protected]> wrote:
> > Thanks to Kit Baum, -triplot- has been revised for Stata 8 on SSC.
>
> I tested -triplot- with this data:
>
> var1 var2 var3 var4 var5 var6
> .1 .3 .6 10 30 60
>
> I can produce graphs with -triplot6- but not -triplot-. These
> commands work:
>
> . triplot6 var1 var2 var3
> . triplot6 var4 var5 var6, max(100)
>
> These commands lead to error messages:
>
> . triplot var1 var2 var3
> Obs. nos. out of range
> r(198);
>
> . triplot var4 var5 var6, max(100)
> Obs. nos. out of range
> r(198);
>
> Friedrich Huebler
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> *
> * 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/
*
* 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/