フィルターのクリア

how to save the image obtained from the plot command?

4 ビュー (過去 30 日間)
sou
sou 2014 年 10 月 10 日
編集済み: Stephen23 2014 年 10 月 13 日
i have used the command "plot( cytoplasm1(:,2), cytoplasm1(:,1), 'g-', 'LineWidth', 1)" in my code. i don't know how to save the image that i am getting from this command into the folder... plz help me.....

採用された回答

Image Analyst
Image Analyst 2014 年 10 月 10 日

その他の回答 (1 件)

Stephen23
Stephen23 2014 年 10 月 10 日
編集済み: Stephen23 2014 年 10 月 10 日
If you want a raster or vector file, then have look at the figure exporting command saveas.
If you want to save it as a MATLAB .fig, then use savefig.
  6 件のコメント
Image Analyst
Image Analyst 2014 年 10 月 13 日
I would not use the cd function. I'd use fullfile() as per the FAQ.
fullFileName = fullfile(folder, baseFileName);
Stephen23
Stephen23 2014 年 10 月 13 日
編集済み: Stephen23 2014 年 10 月 13 日
Sure. I was not trying to imply that they should change the Current Folder for just that one operation, but I have noticed that some users do not seem to realize that the Current Folder can be changed at all, yet their work would be much simpler if they simply changed to a more convenient directory.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by