24a88697 |
1 | puts "============" |
2 | puts "OCC25632" |
3 | puts "Display logarithmic colorscale." |
4 | puts "============" |
5 | puts "" |
6 | |
7 | vinit View1 |
8 | vclear |
9 | vaxo |
10 | |
11 | # create non-logarithmic color scale with range 0-1000 and 3 intervals |
12 | vcolorscale cs -range 0 1000 3 |
13 | vdump ${imagedir}/${casename}_1.png |
14 | |
15 | # create logarithmic color scale with range 1-1000 and 3 intervals |
16 | vcolorscale cs -range 0 1000 3 -log 1 |
17 | vdump ${imagedir}/${casename}_2.png |
18 | |
19 | # create logarithmic color scales with different ranges and intervals |
20 | vcolorscale cs -range 5 200 4 |
21 | vdump ${imagedir}/${casename}_3.png |
22 | |
23 | vcolorscale cs -range 1 1568 8 |
24 | vdump ${imagedir}/${casename}_4.png |
25 | |
26 | vcolorscale cs -range 3 500 5 |
27 | vdump ${imagedir}/${casename}_5.png |
28 | |
29 | vcolorscale cs -range 1 1000 6 |
30 | vdump ${imagedir}/${casename}_6.png |
31 | |