Ask Your Question

# difference between x,y,z range

hi in this code :

f(x,y)=x^2-3*x^4-x^2*y^2+2*x*y
h(x,y,z)=f(x,y)-z
implicit_plot3d(h, (x, -1,1), (y, -4, 4), (z, -1, 1.5),color="green",adaptive=True,mesh=True)


the result is very large in y because y-range are wider thant x and z-range in my example how can i tell implicitplot3d to take a different scalar in y-range ? i have tried to add plot_points=(1,4,1) because i have understood this in the help but it is not accepted thanks

edit retag close merge delete

## 2 Answers

Sort by ยป oldest newest most voted

I guess what you want is the aspect_ratio keyword argument, e.g. aspect_ratio=(1/2,1/8,1/2.5) will make the bounding box into a unit cube while keeping the ranges as you specified them.

more

thanks you it is perfect for me

more

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

Asked: 2021-11-16 14:19:28 +0100

Seen: 291 times

Last updated: Nov 16 '21