how to plot the log scale for the following values ?
    6 views (last 30 days)
  
       Show older comments
    
x = [2.51 ;2.55; 2.56]; y = 10:10:30; semilogy(x,y,'bo-');
Not getting the log scale on Y axis.
2 Comments
  jonas
      
 on 21 Aug 2018
				@Shannon: Write an answer instead of a comment! You get some credits and the question is flagged accordingly.
Answers (2)
  Shannon Cherry
      
 on 21 Aug 2018
        Use loglog instead of semilogy. Type 'doc loglog' for explanation.
0 Comments
  Dimitris Kalogiros
      
 on 21 Aug 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 Comments
See Also
Categories
				Find more on Log Plots in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


