Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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
add comment

marked as duplicate by rm -rf 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.

1 Answer

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
1  
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
add comment

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