Interactive plots in a report
22 次查看(过去 30 天)
显示 更早的评论
Hello,
For my current project, I use a GUI to display and sort some data. Then, I create a word report to share the results (all the data are shown within some plots). Unfortunately, each plot inside the word report is a print screen. Hence, the people who read the report cannot zoom, select data, etc.
I would like to improve my code by generating this kind of graph in the report (interactive plots): https://www.amcharts.com/demos/duration-on-value-axis/
Do you know how I can do it into MatLab? It would be perfect if the format of the report is HTML.
Best Regards,
Seb
0 个评论
回答(1 个)
Walter Roberson
2017-5-21
See http://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf for PDF
You mention Word. It might be possible to create interactive Word documents that use VBA (Visual Basic) to interact with MATLAB. It would probably be necessary to have MATLAB installed on the system that was viewing the plot.
Either way, what you are asking for cannot be done in HTML alone. It might perhaps be possible to create interactive plots using javascript. I am not sure how you would export the data from MATLAB for that purpose; it would not look like the MATLAB plots.
5 个评论
Walter Roberson
2017-5-23
Read http://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf and notice that a series of programs need to be installed; those would have to be installed on the machine that was running the compiled executable that tried to use these functions.
You should wrap your calls to the functions inside a try/catch and put up an error message on failure.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transfer Function Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!