How can I go from a 3D line plot to HTML using MATLAB?
3 views (last 30 days)
Show older comments
I have a 3D line composed of a set of (x,y,z) coordinates that I would like to plot and export as HTML (or an intermediate that can be simply/efficiently be converted into HTML). I found an exciting and promising potential solution here: https://www.mathworks.com/matlabcentral/fileexchange/27333-create-3d-interactive-html-file-from-matlab-surface using a program off the fileshare called Javaview. Unfortunately, while the program output is exactly what I am looking for, the input is not of the appropriate type. It calls for a surface (z = f(x,y)) instead of a line (where in this case there's a unique (x,y) for each z instead of the other way around. It then writes this to an STL file and ultimately a javaview file + HTML.
MY QUESTION: can this be modified to suit a line? Is there a way to construct an STL file from a line (perhaps if it's given a thickness for dimensional purposes) using matlab? Or another way of going from 3D line graph to interactive graph HTML using MATLAB I am not aware of?
Any and all solutions/ ideas welcome!
0 Comments
Answers (0)
See Also
Categories
Find more on MuPAD 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!