how to start xlim from 2 rather than 1
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Stalin Samuel
      
 il 29 Gen 2016
  
    
    
    
    
    Modificato: Ilham Hardy
      
 il 29 Gen 2016
            a = rand(1,33);
bar(a(2:33))

Now i need xlimit for each lines and it should start from 2 and continue with 3 4 5 6.....33
0 Commenti
Risposta accettata
  Ilham Hardy
      
 il 29 Gen 2016
        What do you mean by continue with 3 4 5 6 ... 333?
Perhaps something like this?
set(gca,'xlim',[2 33]);
2 Commenti
  Ilham Hardy
      
 il 29 Gen 2016
				
      Modificato: Ilham Hardy
      
 il 29 Gen 2016
  
			What you meant is xtick..
set(gca,'xtick',[2:1:33]);
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Logical in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!