adjusting the x,y axes ratios in plot (2d)

2 visualizaciones (últimos 30 días)
CLARK KENDRICK GO
CLARK KENDRICK GO el 23 de Abr. de 2018
Respondida: KSSV el 23 de Abr. de 2018
I want to adjust the x and y axis such that the graph has an aspect ratio of 1:1 (a square). Also, i want the x- and y-axes to have tick marks of the same distance (for example: x marks 16, 18, 20, etc; y marks 2 4 6, etc in distances of 2).
insights welcome

Respuesta aceptada

KSSV
KSSV el 23 de Abr. de 2018
axis square
Will make the aspect ratio what you wanted. For other, haave a look on xticks and yticks

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by