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!
