Why my graph window is blank?
显示 更早的评论
core_diameter = [10 15 20 25 ];
a= ((3.14*1.38*2)); b= ((11.8*10^-6)); c= (0.10/0.80);
for core_diameter = core_diameter result = (((a/(b*c))*((976*10^-9)/(core_diameter*10^-6))^2)/1000); disp (result); %plt.scatter(core_diameter,result, color ='red');
plot(core_diameter,result)
hold on
end
%plt.show();
采纳的回答
更多回答(1 个)
zarifah hamid
2020-12-18
0 个投票
>> x= [1 2 3 4 5 6];
>> y= [3 -1 2 4 5 1];
>>plot(x,y)
why the graph does not come out?

类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!