C dx the grid spacing. C ubig the displacements interpolated onto a finer grid. C ibigscale the size of the finer grid, used to give smoother transitions C between colors. C indicates whether or not the animation frame is the first one. This gives C a smoother transition between colored regions.
C Generate the color image from the integer array.
The image is positioned C on the display surface using drawcgm's coordinate system. The display C surface is represented by x and y coordinates ranging from 0.0 to 1.0. C Generate a vertical color bar. C Draw a caption below the graph.