Short Description

Draws a contour plot on top of a sequence.


This plugins computes and draws contour lines on top of a 2D sequence. Additionally, it can print level labels next to the contour lines.

The contouring algorithm is a port to Java of the code found in the GIST package, also used by other plotting tools like Matplotlib.


Once installed, open the plugin by clicking on its icon in the "Plugin" workspace. Also open an image to use the plugin on.


Choose the number of levels to draw, and the min/max level values. In the example below, the image data goes from -0.4 to 0.4 roughly, and we have chosen to draw 13 levels from -0.35 to 0.35.


Sometimes displaying the contours on the whole image domain is not satisfying. In the above example, the interesting data lies inside a region at the center of the image, while the exterior intensities are zero. To remove the exterior from the contour display, we can use a mask sequence, of the same dimension as the original image, where the data is zero in the exterior region and non-zero in the inside region where the contours should be computed and displayed.


Finally, it may be desirable to show labels to indicate the level values. To do so, enable the checkbox "Print levels lavels" and choose a satisfying fontsize.

You may uncheck the "Remove previous contour painters" option to draw several contours with different parameters (different masks, labels for only a subset of levels, etc.). Every contour set is a layer that can be hidden, shown again, or deleted in the Icy's "Layer" pane.

One review on “Contour Plot

Leave a Review

Leave a review
Cancel review
View full changelog
Close changelog


  • Version • Released on: 2013-02-25 10:55:19

    Remove test files from package (non-functional SGT-based contoru plotter and vtk test files)

  • Version • Released on: 2013-02-19 11:13:33

    Fix crash when used on a 3D canvas.

  • Version • Released on: 2012-09-19 10:27:59

    - Improve selection of the number of decimals in labels.
    - Add selector for contour linewidths.
    - Add selector for fontsize.

  • Version • Released on: 2012-09-18 16:45:15

    Initial release.