Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
There are many limitations in Mathcad's graphics capabilities (and a corresponding list of feature requests to improve them). Most of the time I just work around these limitations using standard techniques or just sigh and move on ("nothing to see,move along folks..."). However, every once in a while I get sufficiently irritated to do something about it.
In this case, I wanted to have color the mandelbrot set and didn't much like the display in 3D, so I wrote a function to use the 3D colormaps to colour a 2D image matrix for display in the Picture component. The worksheet also contains an animation.
However, I also have a memory like a something or other, I forget what. Checking after I'd written the attached worksheet, it turns out that this problem has arisen before and dpsycho posted an example that replicates the Rainbow map and I also found some other of my worksheets that created custom colormaps.
Stuart
I like it.
Great sheet, as usual!
It looks to me as if your utilities section has grown again - very helpful and much appreciated.
Thanks!
Werner
Stuart,
Thanks!
Thank you all, but unfortunately there is an error in the interpolation method. I'll post a revised one later on.
Stuart
Thanks a lot!
Slightly modified version ...
It's interesting to note how much difference choice of colormap makes in bringing out the structure of images; any give colormap can be very good for one image and useless for another.
Great worksheet! Somehow (i.e. too much work to do) I missed this thread.
Looks great!