UPDATE Plotly has now been fully integrated with FEATool, see this post for more details and an update patch.
The small command line test script postplotly2 linked below can be used to directly create 2D surface plots from FEATool data (with similar command line syntax to postplot, see
help postplotly2). For example, the grid for the CFD cylinder flow benchmark model can be run and visualized with the following commands
fea = ex_navierstokes3(); postplotly2( fea, 'surfexpr', 0, 'facecolor', [.9 .9 .9], 'linewidth', ... 1, 'linecolor', [0 0 1], 'height', 300 )
Per default, the output is saved as a file named featool-plotly-plot.html which can be opened in a web browser and embedded directly into web pages as done here. Note, that the Plotly web plot is interactive, that is if you move the cursor above the plot you can zoom in, zoom out, pan, inspect coordinates and values, export the plot in different formats, and also save it online to the Plotly cloud.
Furthermore, the following command visualizes the pressure field below
postplotly2( fea, 'surfexpr', 'p', 'height', 300 )
The postplotly2 Matlab m-script file also allows Plotly export with Octave and can be downloaded from the link below. The script can both be used on the command line, and in the FEATool GUI by using the Postprocessing Call… option in the Post menu.