Borrar filtros
Borrar filtros

How to put the y axis from 10^-5 to 10^0

6 visualizaciones (últimos 30 días)
lakom Mariem
lakom Mariem el 4 de Oct. de 2017
Comentada: Rik el 5 de Oct. de 2017
Hello I want my y axis to start from 10^-5 , 10^-4, adn so on until 10^0
Please i need your help,,how can i do it?

Respuestas (1)

Rik
Rik el 4 de Oct. de 2017
semilogy or set(gca, 'YScale', 'log') will do what you want.
  2 comentarios
lakom Mariem
lakom Mariem el 5 de Oct. de 2017
@Rik Wisselink thanks a lot.I tried this but it gives me the y axis with only 3 points (10^-2 , 10^-1 and 10^0 ) but i want the y axis with 6 points from 10^-5 to 10^0.. Please can you tell me how to do it ?
Rik
Rik el 5 de Oct. de 2017
(not tested:) axis or ylim should work:
ylim([10^-5 10^0]);
If my answer solved your question, please mark it as accepted answer.

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by