Closed mancolric closed 4 years ago
I am trying to rotate a 3D figure --created with plot_trisurf-- with view_init. I have previously called using_3D(). However, I get the following error:
plot_trisurf
view_init
using_3D()
'view_init not defined'
If I modify plot3d.jl from
const mplot3d_funcs = (:bar3d, :contour3D, :contourf3D, :plot3D, :plot_surface, :plot_trisurf, :plot_wireframe, :scatter3D, :text2D, :text3D)
to
const mplot3d_funcs = (:bar3d, :contour3D, :contourf3D, :plot3D, :plot_surface, :plot_trisurf, :plot_wireframe, :scatter3D, :text2D, :text3D, :view_init)
the problem is fixed.
Thanks, a PR to add this function to the list of exported symbols (maybe also voxels) would be welcome.
voxels
Done.
Closed by #465
I am trying to rotate a 3D figure --created with
plot_trisurf
-- withview_init
. I have previously calledusing_3D()
. However, I get the following error:'view_init not defined'
If I modify plot3d.jl from
const mplot3d_funcs = (:bar3d, :contour3D, :contourf3D, :plot3D, :plot_surface, :plot_trisurf, :plot_wireframe, :scatter3D, :text2D, :text3D)
to
const mplot3d_funcs = (:bar3d, :contour3D, :contourf3D, :plot3D, :plot_surface, :plot_trisurf, :plot_wireframe, :scatter3D, :text2D, :text3D, :view_init)
the problem is fixed.