# Programs for visualization

### From GHER

(Difference between revisions)

Line 1: | Line 1: | ||

A common question is which tools can be used to visualize the output of models and data analysis software. | A common question is which tools can be used to visualize the output of models and data analysis software. | ||

- | * matlab | + | * matlab produces figures of good quality in combination with m_map. But matlab is a proprietary software and expensive. |

- | * [http://www.gnuplot.info/ gnuplot] is free software and available on numerous platforms | + | * [http://www.gnuplot.info/ gnuplot] is free software and available on numerous platforms. It supports many output formats, among others eps and png. However, some user find the figures of gnuplot not very pretty. To my knowlegde, it cannot read NetCDF files directly. |

* [http://www.octave.org octave]: The scripting language is almost entirely compatible with matlab. In most cases, the code can run unchanged except for figures. But the downside, is that the visualization of octave is quite simple compared to matlab. It is based on gnuplot and has thus the same limitations that gnuplot. Octave can be extended using packages available at http://octave.sourceforge.net/. In particular you can add NetCDF support (octcdf). Installing octave from source is not trivial for novices. But precompiled packages of octave are available for most platforms. I recommend you to use the version 3.0.0 or later. | * [http://www.octave.org octave]: The scripting language is almost entirely compatible with matlab. In most cases, the code can run unchanged except for figures. But the downside, is that the visualization of octave is quite simple compared to matlab. It is based on gnuplot and has thus the same limitations that gnuplot. Octave can be extended using packages available at http://octave.sourceforge.net/. In particular you can add NetCDF support (octcdf). Installing octave from source is not trivial for novices. But precompiled packages of octave are available for most platforms. I recommend you to use the version 3.0.0 or later. | ||

Line 11: | Line 11: | ||

* [http://ferret.wrc.noaa.gov ferret] can read NetCDF files and has good visualization capabilities. It may take some time to understand the ferret language. | * [http://ferret.wrc.noaa.gov ferret] can read NetCDF files and has good visualization capabilities. It may take some time to understand the ferret language. | ||

- | * [http://odv.awi.de/ ocean data view] is a graphical program that allows to visualize variables various ways. It is not a programming environment like the previous ones and it thus easier to use for new users. However, it can also be used in scripts. It is free to use for research and educational purposes. | + | * [http://odv.awi.de/ ocean data view] is a graphical program that allows to visualize variables in various ways. It is not a programming environment like the previous ones and it thus easier to use for new users. However, it can also be used in scripts. It is free to use for research and educational purposes. |

## Revision as of 08:40, 30 September 2008

A common question is which tools can be used to visualize the output of models and data analysis software.

- matlab produces figures of good quality in combination with m_map. But matlab is a proprietary software and expensive.

- gnuplot is free software and available on numerous platforms. It supports many output formats, among others eps and png. However, some user find the figures of gnuplot not very pretty. To my knowlegde, it cannot read NetCDF files directly.

- octave: The scripting language is almost entirely compatible with matlab. In most cases, the code can run unchanged except for figures. But the downside, is that the visualization of octave is quite simple compared to matlab. It is based on gnuplot and has thus the same limitations that gnuplot. Octave can be extended using packages available at http://octave.sourceforge.net/. In particular you can add NetCDF support (octcdf). Installing octave from source is not trivial for novices. But precompiled packages of octave are available for most platforms. I recommend you to use the version 3.0.0 or later.

- python + matplotlib. It doesn't aim to be compatible with matlab, but its syntax is quite close. The quality of graphics is excellent. A large number of add-ons is also available. For interactive use, ipython is very useful.

- ferret can read NetCDF files and has good visualization capabilities. It may take some time to understand the ferret language.

- ocean data view is a graphical program that allows to visualize variables in various ways. It is not a programming environment like the previous ones and it thus easier to use for new users. However, it can also be used in scripts. It is free to use for research and educational purposes.