Why is my plot not showing?
显示 更早的评论
Hello, I'm new to matlab and I don't know why my plots aren't showing anything
>>clc
>>x=linspace(-2,2,100);
>>f=(3*x)/(9*x.^2+1)
>>g=0.25*(x/((1/16)*x.^2))
>>h=-0.5*(x/(1+(0.25*x.^2)))
>>plot(x,f,'blue')
>>hold on
>>plot(x,g,'red')
>>hold on
>>plot(x,h,'black')
>>hold on
>>grid on
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Labels and Styling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!