Hi. I have a plot without an axis and I want to add a background around my plot. I want to do something like this plot in a picture
t=0:0.1:10; y=sin(t);plot(t,y);xlim([-1,11]);ylim([-1.1,1.1]); axis offset(gcf,'InvertHardCopy','off','Color','white');saveas(gcf,'plot_test.jpg','jpeg')
Best Answer