# how to make a plot

4 views (last 30 days)
hyoung chul roh on 21 Nov 2018
Commented: Majid Farzaneh on 22 Nov 2018
i don't know how to make a plot F vs V
i want to plotting Fa vs V , Fb vs V ,Fc vs V on one plot
some equtions is here
dFa/dV=ra
dFb/dV=-ra-kc*Ct*Fb/FT
dFc/dV=-ra
-ra=K*(Ca-Cb*Cc/Kc)
Ca=Ct*Fa/Ft
Cb=Ct*Fb/Ft
Cc=Ct*Fc/Ft
here is constant number
Ct=0.2mol/L
K=0.7/min
Kc=0.05mol/L
kc=0.2/min
Fa(0)=10mol/min
Fb(0)=0
Fc(0)=0
these three property is initial property
plses tell me how to make a plot Fa Vs V , Fb Vs V ,Fc Vs V on same plot

Adam Danz on 21 Nov 2018
What's V?
hyoung chul roh on 22 Nov 2018
V means Volume which is variable

Majid Farzaneh on 21 Nov 2018
Hi, you can use this:
figure,
plot(V,Fa,'-o')
hold on
plot(V,Fb,'-*')
plot(V,Fc,'-^')
legend('Fa','Fb','Fc')

hyoung chul roh on 22 Nov 2018
thank you very much
Majid Farzaneh on 22 Nov 2018
you're welcome

Cris LaPierre on 21 Nov 2018
Chapter 9 of MATLAB Onramp

#### 1 Comment

hyoung chul roh on 22 Nov 2018
thank you!