File: gradients.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 (15 lines) | stat: -rwxr-xr-x 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# gradient.sh: gradients, and all about ensuring they don't interfere with the rest
# Copyright 2011 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 --gradient Red Purple 'sin(x) + 0##11*0.1' 

$ct --gradient Red Purple \
    --legend-inside tc \
    --legend-line "Does legend work ?" \
    'x**2 + 0##11*3'