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

Re: st: RE: 3D Graph problem


From   "D.Christodoulou" <absc11@bangor.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: 3D Graph problem
Date   Tue, 27 May 2003 18:17:13 +0100

Sincere thanks for the answer Nick,

The problem is exactly as you described it. I try and do something about
it... hopefully
If I manage to run the programme in the end I will let you know.
in any case, thanks for the help

> I think Adrian has dropped off the list.
> 
> Looking at the program my guess is that you are merely
> seeing the wrong error message. -surface- tries to construct
> a matrix called -xlines- but fails if there are too many unique x
> values and tries another approach.  It tries to keep
> you informed:
> 
> if rowsof(xlines)>_N/2 | `error'>0 {
>         di in red "WARNING the x-variable contains too many unique values
> attempting to round"
>         ...
> }
> 
> However, if the matrix xlines does not exist at this point then Stata
> will
> stop because it can't evaluate the expression rowsof(xlines)
> and for that reason will never even display the warning.
> 
> As said this is a guess but it is testable: you can test
> it by a
> 
> set trace on
> 
> and seeing where the program stops.
> 
> I doubt that there is a remedy short of fixing the program.
> 
> Nick
> n.j.cox@durham.ac.uk
> 
> *
> *   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/

-- 
---------------------------------------------
Dimitris Christodoulou
Associate Researcher
School for Business and Regional Development
University of Wales, Bangor
Hen Coleg
LL57 2DG Bangor
UK
tel: +44.1248.388081
fax: +44.1248.383228 (HARMONIA)
e-mail: absc11@bangor.ac.uk
---------------------------------------------
*
*   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