FEATool Multiphysics features built-in support for exporting and sharing visualization and postprocessing data online and to the could with Plotly. This is a very convenient one-click functionality to for example share, analyze, and discuss results with remote colleagues and co-workers.

In order to use this functionality the Plotly Matlab interface must first be installed. Please make and account and follow the instructions on the Plotly web site.

  1. If FEATool can find the fig2plotly function in the paths then a plotly toolbar button will appear in the postprocessing mode.

  2. Pressing this button will first prompt for a Plotly title.

  3. Then a new figure will be created and the current plot will be exported.

Please have a look at the FEATool Plotly gallery for examples of how exported models can look like.

On the command line the postplot function has also been extended to prepare figures for Plotly export by using the postplot property plotly. A surface plot can for example be created with this command

  postplot( fea, 'surfexpr', 'u', 'plotly', 1 )

which manually can be exported with the Plotly wrapper as

  fig2plotly( gcf, 'strip', 0, 'filename', 'my_FEATool_simulation' )

Please note that there still are some limitations in what the Matlab Plotly API wrapper can process. One dimensional images should export without issues. 2D data however does not support interpolated patches, so the output might look a bit different from the FEATool plot. Also 2D export processes each patch individually so plotting and export will be quite slow. 3D does not support patches at all yet so instead the data is exported as a scatter plot and grid edges.

Please enjoy this feature and share simulation results with friends and co-workers through Plotly.