bar x must be same length line 172
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Bar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!