Effacer les filtres
Effacer les filtres

Plot arrays plus intersections.

2 vues (au cours des 30 derniers jours)
Walter Manns
Walter Manns le 13 Nov 2011
With this i'm actually plotting three different arrays (Tpf, pfo and Tpp)
Example:
Tpf = [0 1 2 3 4 5] Tpp = [5 9 12 15 18 23] pfo = [0.1 0.2 0.3 0.4 0.5 0.6]
I want to plot pfo/Tpp intersection in the same plot, so it shows the values of pfo and Tpp on the intersection.
[AX,H1,H2] = plotyy(time,Tpf,time,pfo);
title('Proceso de Esterilización');
xlabel('Tiempo [s]');
set(get(AX(1),'ylabel'),'String','Temperatura [°C]')
set(get(AX(2),'ylabel'),'String','Grado de Esterilización [s]')
set(H1,'Color','blue','LineWidth',2);
set(H2,'Color','green','LineWidth',2);
hold all;
H3 = plot(time,Tpp);
set(H3,'Color','red','LineWidth',2);
Best Regards

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by