BAR graph not working

6 visualizaciones (últimos 30 días)
yasasvi Thadiboyina
yasasvi Thadiboyina el 11 de Dic. de 2019
Comentada: yasasvi Thadiboyina el 11 de Dic. de 2019
>> 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
>>

Respuestas (1)

ME
ME el 11 de Dic. de 2019
Is that the exact piece of code you used? On my computer (and Matlab version R2018a) that runs absolutely fine.
  1 comentario
yasasvi Thadiboyina
yasasvi Thadiboyina el 11 de Dic. de 2019
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)

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by