Сombining values on a single graph
1 view (last 30 days)
Show older comments
Hello! There is an array of data a b c, two 3x3 matrices belong to them, where 3 values of the first matrix 0 2 4 and the second 4 3 0 belong to 'a', is it possible to display this on the graph?
A=[20 50 45 ] %values a=20 b=50 c=45
% x = 3х3 matrix , first column of the matrix = a, second = b, third = c
% y = 3х3 matrix , first column of the matrix = a, second = b, third = c
figure(1);
plot(A);
hold on
plot(x);
hold onn
plot(y);
hold off
2 Comments
Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!