how to set the subplot label
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Roger
el 21 de Dic. de 2013
Comentada: Image Analyst
el 22 de Dic. de 2013
how to delete the x10e4 at the end of the xaxis

clc;close all;clear all;
s=load('first.txt');
N=3600*24;
t=1:N;
x=s(1:N);
[c,l]=wavedec(x,7,'db5');
for j=1:7
a=wrcoef('a',c,l,'db5',8-j);
subplot(7,2,2*j-1)
plot(a);axis tight
ylabel(['a',num2str(8-j)]);
end
for j=1:7
d=wrcoef('d',c,l,'db5',8-j);
subplot(7,2,2*j)
plot(d);axis tight
ylabel(['d',num2str(8-j)]);
end
0 comentarios
Respuesta aceptada
Walter Roberson
el 21 de Dic. de 2013
There is no specific control over whether the label is in scientific notation or not. MATLAB does that automatically with unknown rules.
It is known, however, that MATLAB will turn that off for any axes in which you set the *TickLabel yourself. For example,
set(gca, 'XTickLabel', cellstr(num2str(reshape(get(gca, 'XTick'),[],1))) )
2 comentarios
Image Analyst
el 22 de Dic. de 2013
Can you try a smaller font?
set(gca, 'FontSize', 8); % Or whatever it takes to read it.
Más respuestas (0)
Ver también
Categorías
Más información sobre Subplots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
