Scaling of one axis only in 2D plot
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hello eveyone,
I have the display on left. I want to get the diplay on the right (currently stretched using MS Word). Height of y-axis to stay same. How can I do it in MATLAB?
Thanks for your time in advance.

0 commentaires
Réponse acceptée
Cris LaPierre
le 6 Août 2020
3 commentaires
Cris LaPierre
le 7 Août 2020
To confirm, first try this
d= rand(100,1);
plot(d)

Then try this
d= rand(100,1);
plot(d)
x0=10;
y0=10;
width=600;
height=200
set(gcf,'position',[x0,y0,width,height])

Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!