필터 지우기
필터 지우기

Plot arrays plus intersections.

조회 수: 2 (최근 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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by