Plotting a table ????
显示 更早的评论
I made a mistake. I want to
1) plot exess air and overall purity and co2 capture.
2) express air and co2 utilization in fresh feed and fresh free flow rate after co2 utilization.

Here is my code which is not working. Can someone please help me?
A=[
5 99.11 0.92 412 672
10 99 0.9065 405.25 678.75
15 98.91 0.89 397.85 686.15
20 98.81 0.8718 389.73 694.27
25 98.71 0.8526 381.13 702.87
30 98.61 0.8321 371.97 712.03
];
F = figure;
F.Position = [100 100 800 400];
subplot(1,2,1);
plot(A(:,1),A(:,2),'-bo','linewidth',1.5);grid on;hold on;
%plot(A(:,1),A(:,3),'-ro','linewidth',1.5);grid on;
str = {'(A)'};
text(10,80,'A','FontSize',14,'FontWeight','bold')
xlabel('Excess Air','FontWeight','bold');
ylabel('Purity CO2','FontWeight','bold')
legend('1^{st} stage','2^{nd} stage','Location','NorthEast')
subplot(1,2,2);
plot(A(:,1),A(:,3),'-go','linewidth',1.5);grid on;hold on;
%plot(A(:,1),A(:,3),'-ko','linewidth',1.5);grid on;
str = {'(B)'};
text(13,.77,'B','FontSize',14,'FontWeight','bold')
xlabel('Excess Air','FontWeight','bold');ylabel('Stage Cut','FontWeight','bold')
legend('Overall','Stage cut','Location','NorthEast')
subplot(1,2,1)
legend("Position", [0.28832,0.31347,0.16722,0.12086])
subplot(1,2,2)
legend("Position", [0.73589,0.33223,0.16556,0.10762])
3 个评论
Image Analyst
2022-11-18
编辑:Image Analyst
2022-11-18
I know what plot means, but what does "express utilitzation" mean?

Saud Aldhafyan
2022-11-18
Cris LaPierre
2022-11-18
it seems you understand how to plot data in a table, as you do that already in your code. What is the actual MATLAB question you have?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
