BAR graph not working

조회 수: 6 (최근 30일)
yasasvi Thadiboyina
yasasvi Thadiboyina 2019년 12월 11일
댓글: yasasvi Thadiboyina 2019년 12월 11일
>> x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)
this is a example problem in MATLAB i am getting belllow error,
Error using bar
Too many input arguments.
i can use other plots for above data can any one tell me reason thanks in advance
>>

답변 (1개)

ME
ME 2019년 12월 11일
Is that the exact piece of code you used? On my computer (and Matlab version R2018a) that runs absolutely fine.
  댓글 수: 1
yasasvi Thadiboyina
yasasvi Thadiboyina 2019년 12월 11일
yes i have used exact code in Matlab version R2017b
i dont get ant errors for plot(x,y) or any other plots only error in bar(x,y) and hist(x,y)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by