save a plot

2 ビュー (過去 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 Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by