Why my graph window is blank?
Show older comments
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();
Accepted Answer
More Answers (1)
zarifah hamid
on 18 Dec 2020
0 votes
>> x= [1 2 3 4 5 6];
>> y= [3 -1 2 4 5 1];
>>plot(x,y)
why the graph does not come out?

Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!