Plotting excel data in MATLAB or any program
1 次查看(过去 30 天)
显示 更早的评论
How do I plot an XYY graph? Please see the attached files.....
I would love to plot ("japs, himp and jack") as values of Y in the left Y-axis, and Temperature as the value of Y in the right Y-axis and "Time" for X on the X axis. The result should look similar to the one attached along with this message.
Thank you.
0 个评论
回答(1 个)
KSSV
2021-11-19
T = readtable('Calculation.xlsx')
figure
hold on
yyaxis left
plot(T.(1),T.(2),T.(1),T.(3),T.(1),T.(4))
yyaxis right
plot(T.(1),T.(6))
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!