1
# text.sh: test for the text backend
2
# Copyright 2009 by Vincent Fourmond
3
# This file is provided as an example of how to use ctioga2. As such,
4
# you can do whatever you wish with this file.
6
# Include the definition of ct
9
ruby ./generate-data.rb
11
$ct -t "Neat 3d map (with crappy colors)" \
12
--text --margin 0.03 --xyz-map \
15
$ct -t "Neat 3d map (with nicer white to blue colors)" \
16
--text --margin 0.03 --xyz-map \
17
3d-data.dat@1:2:3 /color-map '#fff--#22f'
19
$ct -t "Neat 3d map, with a legend (on the right)" \
20
--text --margin 0.03 --new-zaxis zvalues /location right \
21
--xyz-map 3d-data.dat@1:2:3 /color-map '#fff--#22f' /zaxis zvalues \
22
--label-style zvalues_label /text=machin
24
$ct -t "Neat 3d map, with a legend (on the left)" \
25
--text --margin 0.03 --new-zaxis zvalues /location left \
26
--xyz-map 3d-data.dat@1:2:3 /color-map '#fff--#22f' /zaxis zvalues \
27
--label-style zvalues_label /text=machin \
30
$ct -t "Neat 3d map, with a legend (at the bottom)" \
31
--text --margin 0.03 --new-zaxis zvalues /location bottom \
32
--xyz-map 3d-data.dat@1:2:3 /color-map '#fff--#22f' /zaxis zvalues \
33
--label-style zvalues_label /text=machin \
36
$ct --legend-inside tc /scale 1 \
37
--legend-line "Neat 3d map, with a legend (at the top)" \
38
--text --margin 0.03 --new-zaxis zvalues /location top \
39
--xyz-map 3d-data.dat@1:2:3 /color-map '#fff--#22f' /zaxis zvalues \
40
--label-style zvalues_label /text=machin