File: depth.sh

package info (click to toggle)
ctioga2 0.10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,340 kB
  • ctags: 1,525
  • sloc: ruby: 15,186; sh: 438; lisp: 58; makefile: 26
file content (16 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# draw.sh: tests for drawing commands
# Copyright 2010 by Vincent Fourmond 
# This file is provided as an example of how to use ctioga2. As such,
# you can do whatever you wish with this file.

# Include the definition of ct
. ./test-include.sh

$ct --setup-grid 1x2 \
    --inset grid:0,0 -t "Lines that spawn several insets" \
    'sin(x)' \
    --next-inset grid:0,1 \
    'cos(x)' \
    --draw-line -6,0 8,4 /color Purple \
    --draw-line -6,0.5 8,4.5 /color Blue /clipped=false