<div dir="ltr"><div>plot_surface() in mplot3d can ultimately do what you want, but you need to provide it the isosurface. I think scikit-image can provide that information with its marching cubes function.</div><div><br></div><div>Does that help?</div><div><br></div><div>Ben Root</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 4:05 PM Xiaosong Zhu <<a href="mailto:zxs.201@gmail.com">zxs.201@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="ZH-CN" link="blue" vlink="#954F72"><div class="m_6732260645903522021WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi Everyone!</span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">May I ask a question. </span><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">Is it possible to plot the 3D iso-surface figures? Like the figures plotted by isosurface in MATLAB?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><a href="https://www.mathworks.com/help/matlab/ref/isosurface.html" target="_blank">https://www.mathworks.com/help/matlab/ref/isosurface.html</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">Or like the 1<sup>st</sup> figure in <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><a href="https://en.wikipedia.org/wiki/Atomic_orbital" target="_blank">https://en.wikipedia.org/wiki/Atomic_orbital</a>.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">I need this because I would like to plot the configure of target molecular orbitals using the data calculated from first-principle calculation. I have looked through the examples of the website. There are only examples similar to this but not the same?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">Thanks very much!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">Sincerely,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun">Xiaosong<u></u><u></u></span></p></div></div>_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>