lava / matplotlib-cpp

Extremely simple yet powerful header-only C++ plotting library built on the popular matplotlib
MIT License
4.28k stars 1.12k forks source link

Adds set_zlim() method #291

Open francocipollone opened 2 years ago

francocipollone commented 2 years ago

Summary

Adds set_zlim() method which allows setting the minimum and maximum limit in the z-axis.

Example of use:

...
  plt::plot_surface(x, y, z);
  plt::set_zlim(-5., 40.);
...
bingjingshidelei commented 5 months ago

Can you add a function to set the scale value of the Z-axis