Hi.
I would like to export a colour palette from Mathematica to Origin8.5. The Origin manual says that this requires a file in the format .pal (Microsoft palette format). I could not figure out so far how to create such file using Mathematica. I saw that someone did this with Matlab (see here: http://de.mathworks.com/matlabcentral/fileexchange/43114-cmap2pal-convert-matlab-colormap-to-binary-pal-format?requestedDomain=www.mathworks.com )
which actually works nicely. Anyone experience with such a thing? Any help would be greatly appreciated.
Thanks, Markus
Dear Sander. It works. This is very nice, thank you for the help. This tool will be very helpful for me in the future. Best, Markus
You're welcome! It is not often that my software works at first try ;)
I made a small update to the code, in case you give an rgb color with alpha-channel.
May I ask why do you need that if you can plot most of things in Mathematica directly?