Enter in XTickLabel , how to?
Mostra commenti meno recenti
I am editting a graph. I was giving names to each bar with xticklabel. But the way it creates isnt looking nice.
set(gca,'XTickLabel',{['bar1' num2str(DATA)]})
this creates below the bar,
bar1 DATA
what i want is
- bar1
- DATA (enter in between)
so how to do this?
Risposte (2)
Jan
il 20 Dic 2012
set(gca,'XTickLabel', ['bar1', char(10), num2str(DATA)])
1 Commento
Hello kity
il 21 Dic 2012
Hello kity
il 21 Dic 2012
0 voti
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!