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

3 views (last 30 days)
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

Answers (2)

ALEXANDAR
ALEXANDAR on 8 Aug 2014
Edited: ALEXANDAR on 8 Aug 2014
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 on 8 Aug 2014
Check out plot.ly, very nice interactive plotting tool for MATLAB.
https://plot.ly/matlab/

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!