
Plotting a table ????
조회 수: 2 (최근 30일)
이전 댓글 표시
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
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
