What is the rationale for letting DataAspectRatio (etc.) be inaccurate while stretch-to-fit is enabled?
Afficher commentaires plus anciens
Matlab documentation states that when stretch-to-fill is enabled (as it is by default), then "the axes might not exactly match the data aspect ratio, plot box aspect ratio, and camera-view angle values stored in its DataAspectRatio, PlotBoxAspectRatio, and CameraViewAngle properties." But from Mathworks' perspective...why?? For example, what is the rationale for not having the value of DataAspectRatio track the actual on screen appearance? I know that it's possible, because if I make a plot and then set the PlotBoxAspectRatioMode to 'manual,' then the plot appearance doesn't change, but the values of DataAspectRatio do:
figure;plot(0.1:0.1:pi,sin(0.1:0.1:pi))
daspect
pbaspect manual
daspect
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Lidar Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!