3 puts "Display customized colorscale."
11 # create default color scale
13 vdump ${imagedir}/${casename}_1.png
15 # reduce color scale range and number of intervals
16 vcolorscale -range 0 20 5
17 vdump ${imagedir}/${casename}_2.png
19 # set user-defined colors and labels for color scale
20 vcolorscale -colors white 0 0 1 green 1 0 0 1 1 1 -labels start 1 2 3 4 end
21 vdump ${imagedir}/${casename}_3.png
23 # change colors of first and last intervals
24 vcolorscale -color 0 0.42 0.35 0.8
25 vcolorscale -color 4 pink
28 vcolorscale -label 5 "last"
30 # set a title for color scale
31 vcolorscale -title "My color scale"
32 vdump ${imagedir}/${casename}_4.png