How do I set the range of on axis, as well as making it logrythmic scale without taking logs of the results please?
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Jamie Shelley
 am 14 Jul. 2016
  
    
    
    
    
    Kommentiert: Jamie Shelley
 am 14 Jul. 2016
            My graph needs an edited axis, but I can't get it to work; my plot (simplified) is just plot(x,y) thanks
0 Kommentare
Akzeptierte Antwort
  Azzi Abdelmalek
      
      
 am 14 Jul. 2016
         set(gca,'xscal','log')
3 Kommentare
  Azzi Abdelmalek
      
      
 am 14 Jul. 2016
				t=0:0.1:12
y=sin(t)
plot(t,y)
xlim([0.01 10])
set(gca,'xscale','log')
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Line Plots finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

