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