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: Mandelbrot sets
From
Hua Peng <[email protected]>
To
[email protected]
Subject
Re: st: Mandelbrot sets
Date
Wed, 14 Nov 2012 17:02:08 -0600
Scott Merryman <[email protected]> wrote:
> In the recent issue of The Stata News
>(http://www.stata.com/stata-news/statanews.27.4.pdf) there is an
> article by Hua Peng on generating and graphing Mandelbrot sets.
>
> There does appear to be an error in the second block of code. The
> line res= J(201*201, 3, .) , I believe should be mandelbrot_set =
> J(201*201, 3, .)
>
Yes, indeed, Scott caught an embarrassing typo. I was trying to make the
code
snippet more clear but failed to change the line res= J(201*201, 3, .)
to mandelbrot_set = J(201*201, 3, .) as well.
Thanks for pointing it out.
Hua
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/