# Critique request: code for generating the mandelbrot set

**URL:** <https://discourse.julialang.org/t/critique-request-code-for-generating-the-mandelbrot-set/32317>\
**Category:** New to Julia\
**Tags:** images\
**Created:** [December 16, 2019, 1:49am UTC](https://discourse.julialang.org/t/critique-request-code-for-generating-the-mandelbrot-set/32317 "2019-12-16T01:49:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mattriks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mattriks/32/351_2.png) [@Mattriks](https://discourse.julialang.org/u/Mattriks)\
**Post date:** [December 16, 2019, 2:37am UTC](https://discourse.julialang.org/t/critique-request-code-for-generating-the-mandelbrot-set/32317/2 "2019-12-16T02:37:04Z")

</div>

Another example here:

> [@How do I plot a matrix in Plots instead of gadfly](https://discourse.julialang.org/t/how-do-i-plot-a-matrix-in-plots-instead-of-gadfly/29801/2):
>
> Another way to do this in Gadfly: p = plot(z=(x,y)-\>Mandelbrot(x+y\*im), xmin=[-2.5], xmax=[1.0], ymin=[-1.75], ymax=[1.75], Stat.contour(levels=[10:30;], samples=200), Geom.path, Theme(panel\_fill="midnightblue") ) [Mandelbrot] Gadfly.spy is aimed at the quick plotting of numerical matrices e.g. where would expect to see the diagonal here?: using LinearAlgebra eye = Matrix(I,10,10) Gadfly.spy(eye)

---

_[View the full topic](https://discourse.julialang.org/t/critique-request-code-for-generating-the-mandelbrot-set/32317)._
