Saving jpeg of plot in background procesing
이전 댓글 표시
We have a gui which plots a graph and then add some points to it depending on the user input. We want to automate the process and run it several times on a server and produce jpeg images. This is an extremely simplified code (but actually except for the choice of data, its exactly the same):
function _something_()
x = linspace(0,2*pi,100);
plot(x,sin(x))
hold on
scatter(x,cos(x))
hold off
end
Is there a way to achieve this ? Maybe we should use something else and not "plot" and "scatter" ?
Thanks !
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!