How do I plot table with subplot?
显示 更早的评论
Hi everyone,
I have a simple 1x3 table
T=[35 40 45]
Below is a sample syntax from class (not my code).
I'm trying to figure out how to use x and y1 based on the code below.
Also how I could use subplot if I have multiple rows and columns.
I appreciate all the help. Thanks.
x = linspace(-2*pi, 2*pi)
y1 = sin(x);
plot(x,y1)
5 个评论
madhan ravi
2020-10-23
What you have is an array with 3 elements, you need to elaborate what you want to do with those three values?
Emmanuel Matata Bili Bili
2020-10-23
Emmanuel Matata Bili Bili
2020-10-25
Cris LaPierre
2020-10-25
You do not need the hold on and hold off commands.
Emmanuel Matata Bili Bili
2020-10-27
回答(1 个)
Cris LaPierre
2020-10-23
0 个投票
I recommend going through MATLAB Onramp. Chapter 9 covers plotting, but it sounds like some of the other chapters would be helpful as well.
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!