From 73f82d886d378fdad713103da5479a7439c55a32 Mon Sep 17 00:00:00 2001 From: jens Date: Mon, 18 Oct 2021 19:15:11 +0200 Subject: [PATCH] - added missing time - refactored --- results_tc.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/results_tc.m b/results_tc.m index 8d2ec37..c2b3383 100644 --- a/results_tc.m +++ b/results_tc.m @@ -33,13 +33,13 @@ figure(1) set(0, "defaultlinelinewidth", 1.5); subplot(2,1,1) -plot(time, theta_ist_plant, time, theta_ist_model, theta_ist_model_delay); grid +plot(time, theta_ist_model, time, theta_ist_model_delay, time, theta_ist_plant); grid title("Temperature [°C]") -legend("Plant","Model","Model*z") +legend("Model","Model*z","Plant") subplot(2,1,2) -plot(time, dtheta_ist_plant, time, dtheta_ist_model, dtheta_ist_model_delay); grid +plot(time, dtheta_ist_model, time, dtheta_ist_model_delay, time, dtheta_ist_plant); grid title("Heatrate [°C/min]") -legend("Plant","Model","Model*z") +legend("Model","Model*z","Plant") endfunction