figure with 3 equal outerposition axes pushes third axis off figure
Afficher commentaires plus anciens
figure;a1=axes('outerposition',[0 0 .333 1]);a2=axes('outerposition',[0.333 0 .333 1]);a3=axes('outerposition',[.666 0 .333 1]);
a3b = axes('position',get(a3,'position'),'yaxislocation','right');
ylabel(a3b,'axis3b');

2 commentaires
Andrew Newell
le 16 Déc 2011
Why not just use SUBPLOT for each plot?
Eric
le 16 Déc 2011
Réponse acceptée
Catégories
En savoir plus sur Two y-axis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!