How to export 3d surface plot figure(matlab figure) to xhtml?

Below which I have attached my matlab code. I need the result plot/figure to incorporate into my website as an interactive plot/fig. could matlab figure be converted into xhtml?
I=imread('filename.extn');
[x,y]=size(I);
X=1:x;
Y=1:y;
[xx,yy]=meshgrid(Y,X);
i=im2double(I);
figure;mesh(xx,yy,i);
colorbar

回答(2 个)

Thanks for the quick response. The 2d graphs work well but 3d interactive images are not converted by polt.ly. The generated link load the plot for several hours, no graph appears. Any further suggestions.
Check out plot.ly, very nice interactive plotting tool for MATLAB.
https://plot.ly/matlab/

类别

帮助中心File Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by