Revision as of 21:50, 14 February 2017 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This online guide is designed to be a brief overview of the suite of MATLAB tools for visualising model results.


The tutorials show the basic uses of the FVG visualisation suite. For more advanced uses, and questions on usage, please use the TUFLOWFV Forum.

The following modules are also planned:

Tool Overview


These tools require the user to have MATLAB installed on their computer. The tools have all been designed in such a was as to allow novice users to be able to quickly and easily visualise their model output. For users more experienced with MATLAB, it also offers an easy platform for highly customized visualisations. It is recommended that users unfamiliar with MATLAB learn the basics of plotting with MATLAB Graphics, using 3rd party tutorials and textbooks, or using official documentation on the MathWorks Website.

FVG Suite

The accompanying tools rely on object oriented programming to provide a simple front-end interface that is similar to MATLAB built-in components. The tools are based on an fvgraphics Object that creates a figure with a scrollbar inside it. It also stores the information necessary to scroll through timesteps and tell other objects to update the images. FVG objects can then be placed in any axis that is created within the fvgraphics Object, they include patch objects that represent mesh cells and are colored based on the model results. The FVG objects call their own respective FV-Res Objects, that are responsible for extracting the results from the TUFLOW-FV results file and then sending a signal back to the FVG object to update the patches.