Producing a color map image using Python
I have a working program in C++ that generates data for a Mandelbrot Set. I am able to get the colo开发者_StackOverflow社区r map image of the Mandelbrot set using gnuplot. In order to save the image, I just take a screenshot which doesn't give a very accurate image.
how I can use a Python script in order to produce and save the image.
The Python Imaging Library is the standard means to produce 2D images and image files in Python.
Source code Draw a Mandelbrot Set (Python)
PIL and NumPy ofcourse ;)
精彩评论