Can I visualize the outer box of 3D plot?


Can I visualize the outer box of 3D plot?



My current plot looks something like this now,



image1





But I'd like to add outer boarders so that I can have a closed box.
Like this,



image2





I am currently using Python3.6,



matplotlib.pyplot



I know that MATLAB gives such options(these images are from MATLAB documentation), so I thought matplotlib may provide the same. But I have failed to find any documentations regarding this issue.



Do I have such options to visualize the outer box, or should I use another package instead?




1 Answer
1



You may try the method set_frame_on from the class Axes on the current axes.


set_frame_on


Axes






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift