Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Problems with twoway contour


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: Problems with twoway contour
Date   Mon, 30 Apr 2012 17:17:11 -0500

Is your Stata up to date?  Both the ado-files and executable?

Does the example in -twoway contour- work?

   sysuse sandstone, clear
   twoway contour depth northing easting

Scott


On Mon, Apr 30, 2012 at 8:42 AM, John Samuel <[email protected]> wrote:
> Dear Statalist,
>
> I am having some problems with the twoway contour command.
>
> The command:
> twoway contour z x y, ccuts(`pct_10' `pct_25' `pct_50' `pct_60'
> `pct_80' `pct_90' `pct_95' `pct_99' `pct_99half') scolor(white)
> ecolor(black)   crule(linear) title("Contour plot", size(medium))
> subtitle("`year'", size(small)) ytitle("bla") xtitle("bla") zlabel(1
> "10" 2 "25" 3 "50" 4 "60" 5 "80" 6 "90" 7 "95" 8 "99" 9 "99.5")
> ztitle("Percentiles") scheme(personal)
>
> I get the following error message:
>       _rbf_tps_setup():  3900  unable to allocate real <tmp>[56554,56554]
>          _rbf_tps_wrk():     -  function returned error
>              _rbf_tps():     -  function returned error
>                  _rbf():     -  function returned error
>        _contour_setup():     -  function returned error
>       _contour_filled():     -  function returned error
>                 <istmt>:     -  function returned error
>
> It does save a graph, but it doesn’t contain anything (just an empty grid).
>
> I think this problem might be related to Stata running out of memory.
> Do you have any advice on how to solve it? The data is quite small
> (only 96M). I am running Stata SE 12.1 on a 64-bit Windows 7 machine
> with 12GB RAM.
>
> Thank you very much for your help.
>
> Best
> John

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index