I want to force the maximum y-axis to 30 so that all y values will would be displayed up to 30 and also, with minimum ticks of 5 and major ticks increasing by 10

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 4 de Ag. de 2015

0 votos

5 comentarios

AbelM Kusemererwa
AbelM Kusemererwa el 4 de Ag. de 2015
Editada: Azzi Abdelmalek el 4 de Ag. de 2015
The first figure is the whole data but I need figure 2
AbelM Kusemererwa
AbelM Kusemererwa el 4 de Ag. de 2015
Figure 1 is the whole data but I need figure 2
Azzi Abdelmalek
Azzi Abdelmalek el 4 de Ag. de 2015
ylim([-0.6 0.6])
AbelM Kusemererwa
AbelM Kusemererwa el 4 de Ag. de 2015
Editada: AbelM Kusemererwa el 5 de Ag. de 2015
Great. if the data is less than the min and max, for example -0.3 to 0.3, instead of displaying -0.6 and 0.6 at the extreme ends of the y-axis it shows example -0.4 and 0.4. I am using subplot to plot 3 different graph
Azzi Abdelmalek
Azzi Abdelmalek el 4 de Ag. de 2015
set(gca,'YMinorTick','on')

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by