Ask Your Question

difference between x,y,z range

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

ErWinz gravatar image

hi in this code :

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 flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2021-11-16 15:54:33 +0100

rburing gravatar image

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.

edit flag offensive delete link more

answered 2021-11-16 18:21:36 +0100

ErWinz gravatar image

thanks you it is perfect for me

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


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

Seen: 291 times

Last updated: Nov 16 '21