Code covered by the BSD License  

Highlights from
plotly API

image thumbnail
from plotly API by Chris
Graphs in a web-browser! Example graph: https://plot.ly/~jackp/614/. View and share interactively.

cell2json(s)
function str = cell2json(s)
	str = '';
	for i =1:length(s)
		val = s{i};
		valstr = m2json(val);
		str = [str ', ' valstr];
	end
	str = str(3:end); % snip leading comma
	str = ['[' str ']'];
end

Contact us