Skip to content
Snippets Groups Projects
Commit 5771f87d authored by Cristian Galperti's avatar Cristian Galperti
Browse files

plots improved

parent 61f7af83
Branches
No related merge requests found
...@@ -71,29 +71,38 @@ figure(1); ...@@ -71,29 +71,38 @@ figure(1);
clf clf
hold on hold on
plot(demo1simout.demo1.signal1,'k--');%'LineWidth',4); %simline='k--';
plot(demo1simout.demo1.signal2,'k--');%'LineWidth',4); simline='k+';
%plot(demo1simout.demo1.signal3,'k--');%'LineWidth',4);
plot(demo1simout.demo1.signal4,'k--');%'LineWidth',4); plot(demo1simout.demo1.signal1,simline);
plot(demo1simout.demo1.signal2,simline);
plot(demo2simout.demo2.signal1,'k--');%'LineWidth',4);
plot(demo2simout.demo2.signal2,'k--');%'LineWidth',4); plot(demo1simout.demo1.signal4,simline);
%plot(demo2simout.demo2.signal3,'k--');%'LineWidth',4);
plot(demo2simout.demo2.signal4,'k--');%'LineWidth',4); plot(demo2simout.demo2.signal1,simline);
plot(demo2simout.demo2.signal2,simline);
plot(demo1signal1marte2,'r');
plot(demo1signal2marte2,'r'); plot(demo2simout.demo2.signal4,simline);
%plot(demo1signal3marte2,'r');
plot(demo1signal4marte2,'r'); %marteline='r-.';
marteline='ro';
plot(demo2signal1marte2,'r');
plot(demo2signal2marte2,'r'); plot(demo1signal1marte2,marteline);
%plot(demo2signal3marte2,'r'); plot(demo1signal2marte2,marteline);
plot(demo2signal4marte2,'r');
plot(demo1signal4marte2,marteline);
plot(demo2signal1marte2,marteline);
plot(demo2signal2marte2,marteline);
plot(demo2signal4marte2,marteline);
xlim([0 3]); xlim([0 3]);
xlabel('time [s]');
grid on grid on
title('black cross: Simulink simulation, red circles MARTe2 run')
%% Plot timings %% Plot timings
figure(2) figure(2)
...@@ -114,3 +123,4 @@ xlabel('time [s]'); ...@@ -114,3 +123,4 @@ xlabel('time [s]');
title('MARTe2 timings'); title('MARTe2 timings');
ylim([800 1200]); ylim([800 1200]);
title('k: T1 cyclet, r: T2 cyclet, g: demo1 execs, m: demo2 execs');
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment