<div dir="ltr">Could you use HDF format?  Its a bit overkill as a storage container but almost everything supports it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 8:10 PM, Nathaniel Smith <span dir="ltr"><<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Apr 20, 2016 at 4:59 PM, Daniele Nicolodi <<a href="mailto:daniele@grinta.net">daniele@grinta.net</a>> wrote:<br>
> On 4/20/16 5:22 PM, Nathaniel Smith wrote:<br>
>> I wrote up a little spec to<br>
>> standardize a way of storing and distributing colormaps in JSON, with<br>
>> the hope that we can convince everyone to implement this and stop<br>
>> writing silly little conversion scripts all the time.<br>
><br>
> While I'm not a fan of Matlab, I think it would be nice to be able to<br>
> use colormaps defined in this way with it. It is a few years I'm not<br>
> working in Matlab, but at the time there were no built-in tools to read<br>
> JSON files. It would be unfortunate if this interchange format would<br>
> depend on a large third party library to be used with Matlab.<br>
<br>
</span>Do you have any suggestions for how to format the data so that it<br>
could be used more easily in Matlab while still being easily usable<br>
from Javascript? I guess if I have to pick I'm more worried about<br>
compatibility with D3 and Vega than with Matlab...<br>
<span class="im HOEnZb"><br>
-n<br>
<br>
--<br>
Nathaniel J. Smith -- <a href="https://vorpus.org" rel="noreferrer" target="_blank">https://vorpus.org</a><br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</div></div></blockquote></div><br></div>