On Wed, Sep 7, 2011 at 1:34 PM, Matthew Koichi Grimes <m...@cs.nyu.edu>wrote:

> How can I make a 3D plot without showing the axes?
>
> When plotting a 3d plot, Matplotlib not only draws the x, y, and z
> axes, it also draws light gray grids on the x-y, y-z, and x-z planes.
> I would like to draw a "free-floating" 3D graph, with none of these
> elements. My matplotlib.__version__ is 1.0.1.
>
> Stuff I've tried:
>
> # Doesn't work; this hides the plot, not the axes
> my_3d_axes.set_visible(False)
>
> # Doesn't do anything. Also, there's no get_zaxis() function.
> my_3d_axes.get_xaxis().set_visible(False)
> my_3d_axes.get_yaxis().set_visible(False)
>
> -- Matt
>
>
Matt,

Try "my_3d_axes.set_axis_off()".  I should probably override set_visible()
to work as expected...

Ben Root
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to