Save graph / plot progressively

조회 수: 5 (최근 30일)
Nicola
Nicola 2014년 1월 20일
답변: Nicola 2014년 1월 20일
Good evening, i need help, i want that my code saves plot in progressive mode. I thought to use saveas function in a code like this
f = figure('Visible', 'off');
plot(x,y,'r');
saveas(f,'figure_',num2str(numberofgraph,'%d'),'.jpeg');
but it doesn't work, it says "too many imput arguments"(i think it doesn't like
num2str(numberofgraph,'%d'),
How can i also decide where it has to save it? Thanks for your help

채택된 답변

Walter Roberson
Walter Roberson 2014년 1월 20일
saveas(f,['figure_',num2str(numberofgraph,'%d'),'.jpeg']);

추가 답변 (1개)

Nicola
Nicola 2014년 1월 20일
Thanks very much Mr Walter Roberson. Is 'savesas' the best function or there is one which gives me a better quality of images?
Thanks

카테고리

Help CenterFile Exchange에서 Networks에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by