Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I plot the function f(x,y). x goes from 0 to 25 and y goes from 0 to 12. So, my plot should look elongated since the range of x is twice as long as the range of y.

The problem is that, mathematica rescales the size of the axes, so that I see a square plot eventhough I see x->[0,25] and y->[0,12].

This is what I do:

ListPlot3D[Abs[list], ColorFunction -> "Rainbow", AxesLabel -> {xx, yy, f(xx,yy)}, PlotRange -> All]

Does anybody know how could I see an elongated plot?

Thanks alot!

share|improve this question

marked as duplicate by R. M. May 5 '13 at 9:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

Try adding BoxRatios -> Automatic

ListPlot3D[Abs[list], ColorFunction -> "Rainbow",
 AxesLabel -> {"xx", "yy", "f(xx,yy)"}, PlotRange -> All, 
 BoxRatios -> Automatic]
share|improve this answer
Yes! That works! Thanks @E.O.! And know I want to do the opposite thing with f(x,y), because the variation of f versus x and y is supersmall, and I woukd like to appreciate the shapes of my surface. So how can I exagerate the f(x,y) axes keeping the (x,y) grid elongated?? – Mencia May 5 '13 at 7:05
Try adjusting it manually by changing the values in BoxRatios->{1,2,3} – E.O. May 5 '13 at 7:23
Perfect!! It works!! Thanks, I appreciate it E.O.!! – Mencia May 5 '13 at 7:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.