开发者

Producing a color map image using Python

开发者 https://www.devze.com 2022-12-24 11:38 出处:网络
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 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 ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号