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')
Warning: Ignoring extra legend entries.
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')
Warning: Ignoring extra legend entries.
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 Comments

Image Analyst
Image Analyst on 18 Nov 2022
Edited: Image Analyst on 18 Nov 2022
I know what plot means, but what does "express utilitzation" mean?
utilization means reuse
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?

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 18 Nov 2022

Commented:

on 18 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!