How to obtain 3D colored surface via Python?

后端 未结 4 2273
眼角桃花
眼角桃花 2020-12-06 12:54

How to obtain the following surface via Matplotlib?

It is easy in matlab via:

mesh(peaks)

It seems matplotlib does not have an exac

4条回答
  •  心在旅途
    2020-12-06 13:28

    It seems the current matplotlib 1.3.1 does not handle such mesh plot or further PDF export. gnuplot.pygnuplot.py 1.8 might be a choice before there is further updates in matplotlib.

    Here is an example created via gnuplot: mesh

    MayaVI2 does not support PDF exports but might be another good choice.

提交回复
热议问题