Message Boards Message Boards

0
|
3721 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

[?] Override the default square aspect ratio of Contour or Plot3D images?

Posted 6 years ago

When one uses the default Plot3D command like:

Plot3D[Re[ufun[x, y]], {x, xlow, xhigh}, {y, ylow, yhigh}, 
 ColorFunction -> "TemperatureMap"]

You get square (x,y) base plane plots. The actual aspect ratio is Aratio=(xhigh-xlow)/(yhigh-ylow). But when Aratio is say 10/1, it would be nicer to have a rectangular shape base than the default Aratio=1 square one.

Do how to alter the above command to get a user controlled aspect ratio?

Thanks in advance

3 Replies

Ok now I see the reply from Keith. Thanks David

I got this reply

"BoxRatios->Automatic" for 3D plots, "AspectRatio->Automatic" for 2D plots.

from an email from community, but I do not see any sign of it yet when I go to community site??

Posted 6 years ago

You can use the option "BoxRatios->Automatic" for 3D plots, "AspectRatio->Automatic" for 2D plots. These will give axes that have the same as-drawn scale.

POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract