Exemplo:
>>n=[0:1:10]
n =
0 1 2 3 4 5 6 7 8 9 10
>>stem(sin(n)); saveas(gcf,'exemplo.jpg')
Apesar de dar um erro, a imagem é salva:

Erro:
Warning: This functionality is no longer supported under the -nojvm startup option. For more information, see "Changes to -nojvm Startup Option" in the MATLAB Release Notes. To view the release note in your system browser, run web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1', '-browser') > In gcf at 33 Warning: This functionality is no longer supported under the -nojvm startup option. For more information, see "Changes to -nojvm Startup Option" in the MATLAB Release Notes. To view the release note in your system browser, run web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1', '-browser') > In graphics/private/render at 143 In print at 277 In saveas at 155
Nenhum comentário:
Postar um comentário