subplot label problem invisible

9 visualizaciones (últimos 30 días)
Umit
Umit el 13 de Ag. de 2012
I have very simple question. Assume I have a,b,c,t
subplot(3,5,1);
plot(t, a);
title('Agent-1 Error of Target-1')
ylabel('X Dimension Error');
xlabel('Time');
subplot(3,5,6);
ylabel('Y Dimension Error');
xlabel('Time');
plot(t, b);
subplot(3,5,11);
ylabel('Z Dimension Error');
xlabel('Time');
plot(t, c);
When I call the function, subplot of 6, 11 labels are gone at the end. I dont understand why? subplot 1 shows its labels but not the rest

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 13 de Ag. de 2012
Editada: Azzi Abdelmalek el 13 de Ag. de 2012
you must start with plot
subplot(3,5,1);
plot(t, a);
title('Agent-1 Error of Target-1')
ylabel('X Dimension Error');
xlabel('Time');
subplot(3,5,6);
plot(t, b);
ylabel('Y Dimension Error');
xlabel('Time');
subplot(3,5,11);
plot(t, c);
ylabel('Z Dimension Error');
xlabel('Time');

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by