MATLAB: Export Matlab Plots into sheet

dataexportplotsheetwritewrite to file

Hi guys, I want to make a Sheet(which can be opened without Matlab) where my plots a saved. For example i got 3 plots and want them in one sheet. For sure i don't want to copy the plots or something i want the plots automatically written in my sheet, so that i just have to run my code and have my sheet with the data plots.
Thank you for your help.

Best Answer

  • Solved it by using subplot and then print.
    See my Code
    subplot('Position',pos.pos7)
    plot(true_stress,true-strain)
    subplot('Position',pos.pos3)
    plot(stress,strain)
    subplot('Position',pos.pos4)
    plot(stress,displacement)
    print(hfig,'Datasheet','-dpdf')
    Don't forget to define the positions...