5 ms·
Nice, I've been looking for a way to visualize the evolution of a volatility surface over the course of a month, the trick of just outputting the files and grea
by arthurcolle 6y ago
Nice, I've been looking for a way to visualize the evolution of a volatility surface over the course of a month, the trick of just outputting the files and greating a gif with ImageMagick seems like a nice, quick way to show it. Any idea how you could make something like this but interactive, say within a Jupyter notebook with a slider?
Really great work here, I need to renew my expired LWN subscription clearly. Thanks for posting!
- cameldrv 6y agoipyvolume and plotly can do some similar things.
- leephillips 6y agoYou absolutely could do this. Here is another article I wrote for LWN with an interactive graph: https://lwn.net/Articles/746386/ https://lwn.net/Articles/746386/ It uses matplotlib, but there is also a gnuplot kernel for jupyter. It would take some work to hook everything together, but I'm sure it's possible.
- tkuraku 6y agoVTK is a great visualization tool that might suit your needs.
- ktpsns 6y agoIf you want to dig into VTK, try out ParaView (https://www.paraview.org/ https://www.paraview.org/) or VisIt (https://wci.llnl.gov/simulation/computer-codes/visit https://wci.llnl.gov/simulation/computer-codes/visit), both open source and scriptable with Python. VTK is a mature industry standard for 3D data serialization and visualization. That's much more heavy then mplot3d (matplotlib 3d) or gnuplot 3d.
- jedbrown 6y ago3D viz that integrates well with Jupyter: https://yt-project.org/ https://yt-project.org/ Also MayaVi (https://docs.enthought.com/mayavi/mayavi/index.html https://docs.enthought.com/mayavi/mayavi/index.html), which is more Pythonic. Paraview (https://www.paraview.org/ https://www.paraview.org/), which is widely used and has a relatively good GUI, but not as good for Jupyter. Ascent (https://ascent.readthedocs.io/en/latest/ https://ascent.readthedocs.io/en/latest/) for visualization of in-situ data.
- fluffy87 6y agoYou can use ParaView from Jupiter just fine ? You can even embed its views, pipelines, controls, make interactive notebooks, etc...