bar x must be same length line 172
8 次查看(过去 30 天)
显示 更早的评论
I have the following code for different variables. I have copy and pasted them and changed the string to get the different variables.
Variables:
C1608=11x1 categorical array
C1609=categorical (just 1)
TxxxxA, TxxxxM, TxxxxW are the variables and they are in a double. T1608 (A, M, and W) is a 11x1 double. T1609 is just a single double for each.
I am using the following to plot it
bar(C1608, [T1608A T1608M T1608W])
bar(C1609, [T1609A T1609M T1609W])
How can I get past this error? Everything before this is basically the same code with a different string to index.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bar Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!