1
# draw.sh: tests for drawing commands
2
# Copyright 2010 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
$ct -t 'Text drawing' -r 10cmx10cm \
10
'sin(x)' --draw-text 0,0 'center plus baseline' /alignment baseline \
11
/color BrickRed /scale 1.2 \
12
--draw-line -6,0 6,0 /color Green /line_style Dots \
13
--draw-line 0,-1 0,1 /color Blue /line_style Dashes \
14
--draw-text 0,-0.3 'left plus bottom' /justification left \
15
/color Orange /scale 1.2 /alignment bottom \
16
--draw-line -6,-0.3 6,-0.3 /color Green /line_style Dots