필터 지우기
필터 지우기

save a plot

조회 수: 5 (최근 30일)
azarm
azarm 2011년 8월 17일
Hi Hi,
i have a problem with saving a plot in a directory as a figure(.tif). I have a main function. Each time i run my code, the code reaches a directory, takes image sequence and make some outputs. What i need to do, is to save some output plots in a directory. I know how to save a figure, but it does not work for plots! (specially i have a figure with hold on and i make plot inside the figure and want to save it!)
Thanks,
Azi
  댓글 수: 2
Oliver Woodford
Oliver Woodford 2011년 8월 17일
It isn't clear to me what you are asking. Can you include code for a very simple example?
azarm
azarm 2011년 8월 17일
i meant : print('-dtiff','plot.tif')

댓글을 달려면 로그인하십시오.

채택된 답변

the cyclist
the cyclist 2011년 8월 17일
Does this work for you?
plot(1:10)
print('-dtiff','plot.tif')
  댓글 수: 7
azarm
azarm 2011년 8월 17일
you're right! It works.
Tnx for your help
pedro rivera
pedro rivera 2013년 4월 1일
your answer works, thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by