how to plot the log scale for the following values ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
x = [2.51 ;2.55; 2.56]; y = 10:10:30; semilogy(x,y,'bo-');
Not getting the log scale on Y axis.
2 comentarios
jonas
el 21 de Ag. de 2018
@Shannon: Write an answer instead of a comment! You get some credits and the question is flagged accordingly.
Respuestas (2)
Shannon Cherry
el 21 de Ag. de 2018
Use loglog instead of semilogy. Type 'doc loglog' for explanation.
0 comentarios
Dimitris Kalogiros
el 21 de Ag. de 2018
clear; close all; clc;
x = [2.51 ;2.55; 2.56];
y = 10:10:30;
loglog(x,y,'bo-');
grid on; zoom on;
0 comentarios
Ver también
Categorías
Más información sobre Graphics Object Programming 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!