Plot arrays plus intersections.

1 回表示 (過去 30 日間)
Walter Manns
Walter Manns 2011 年 11 月 13 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDetection, Range and Doppler Estimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by