フィルターのクリア

how to solve this error?

1 回表示 (過去 30 日間)
Rakesh Roshan
Rakesh Roshan 2022 年 5 月 11 日
コメント済み: Benjamin Thompson 2022 年 5 月 12 日
T=read( 'Book1.xlsx')
T1=table2cell(T);
for i=1:size(T,1)
Age=[T1(i,2)];
job year1=[T1(i,3)];
job year2=[T1(i,4)];
Year_1994=[T1(i,5)];
Year_1995=[T1(i,6)];
Year_1996=[T1(i,7)];
for i=[0 1] %this is getting simulated when it is '0' then for '1'
fam(Year_1994,Year_1995,Year_1996)
end
function fam(Year_1994,Year_1995,Year_1996)
disp(Year_1994)
A=[-2.22 -20.33 2.33]
B=[1 2 3]
figure %how to save all Figures in folder ((Folder= Figures))
plot(A,B)
ax=gca
ax,YAxis.Exponent=0;
xlabel('Trade')
ylabel(markup)
Figure
plot(A,2*B)
ax=gca
ax,YAxis.Exponent=0;
xlabel(' Avg Trade')
ylabel(markup)
end
For each row 2 Figures has to be generated and saved into one folder
Kindly help
2018a version

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 5 月 11 日
  2 件のコメント
Rakesh Roshan
Rakesh Roshan 2022 年 5 月 12 日
編集済み: Rakesh Roshan 2022 年 5 月 12 日
i have to save all figures in folder by name as 1 2 3...... to use it later
Benjamin Thompson
Benjamin Thompson 2022 年 5 月 12 日
Per the discussion thread that I gave in the answer, use print to save to an image file. Type "doc print" for more information.
Use "savefig" to save the figure to a "*.fig" file format. Type "doc savefig" for more information.

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

カテゴリ

Help Center および File ExchangeGraphics Object Identification についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by