Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Mandelbrot sets


From   Hua Peng <hpeng@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Mandelbrot sets
Date   Wed, 14 Nov 2012 17:02:08 -0600

Scott Merryman <scott.merryman@gmail.com> 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
--hpeng@stata.com

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index