Azzera filtri
Azzera filtri

how to plot the log scale for the following values ?

4 visualizzazioni (ultimi 30 giorni)
x = [2.51 ;2.55; 2.56]; y = 10:10:30; semilogy(x,y,'bo-');
Not getting the log scale on Y axis.
  2 Commenti
jonas
jonas il 21 Ago 2018
@Shannon: Write an answer instead of a comment! You get some credits and the question is flagged accordingly.
Shannon Cherry
Shannon Cherry il 21 Ago 2018
Thanks, I'm new to this and this was my first answer.

Accedi per commentare.

Risposte (2)

Shannon Cherry
Shannon Cherry il 21 Ago 2018
Use loglog instead of semilogy. Type 'doc loglog' for explanation.

Dimitris Kalogiros
Dimitris Kalogiros il 21 Ago 2018
clear; close all; clc;
x = [2.51 ;2.55; 2.56];
y = 10:10:30;
loglog(x,y,'bo-');
grid on; zoom on;

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by