matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

plot3 and plot_surface on same figure

Open LiftOffGO opened this issue 4 years ago • 0 comments

Can you add the possibility to call plot3 and plot_surface, then plot on the same figure, similarly to the plot behavior? For instance, the following code will plot on two figures. Thank you very much.

plt::plot3(xl, yl, zl); plt::plot_surface(x, y, z); plt::xlabel("x label"); plt::ylabel("y label"); plt::set_zlabel("z label"); plt::legend(); plt::show(1);

LiftOffGO avatar Apr 14 '21 09:04 LiftOffGO