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

Antworten (2)

ALEXANDAR
ALEXANDAR am 8 Aug. 2014
Bearbeitet: ALEXANDAR am 8 Aug. 2014

1 Stimme

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.
Ahmet Cecen
Ahmet Cecen am 8 Aug. 2014

0 Stimmen

Check out plot.ly, very nice interactive plotting tool for MATLAB.
https://plot.ly/matlab/

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 8 Aug. 2014

Bearbeitet:

am 8 Aug. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by