Réponse acceptée

Josh
Josh le 11 Mai 2019

0 votes

I'd use daspect to change the aspect ratio of your axes:
% Create plot vectors
x = [0, 1, 2];
y = [1, 0, 0];
% Plot
plot(x,y);
% Change plot aspect ratio so 1 unit of x equals 2 units of y (and z)
daspect([1,2,2])

Plus de réponses (0)

Catégories

En savoir plus sur Discrete Data Plots dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by