Horizontal constant line plot

1 次查看(过去 30 天)
Trevor Badji
Trevor Badji 2017-12-28
评论: Neptune16 2019-9-29
I am using plot(1:3600,ones .* 78) 'it gives empty plot' this to plot a horizontal line for y axis is consant 78, x axis is from 1 to 3600 . Or is there another command to plot it .

回答(1 个)

Image Analyst
Image Analyst 2017-12-28
ones() is a function that takes arguments. You are not giving any. What do you want to plot for your y values?
  1 个评论
Neptune16
Neptune16 2019-9-29
hello and good day,sir. can you please help me out with my latest question in my profile. very much thanks in advance.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by