~ubuntu-branches/ubuntu/oneiric/ctioga2/oneiric

« back to all changes in this revision

Viewing changes to tests/insets.sh

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Fourmond
  • Date: 2011-01-24 21:36:06 UTC
  • Revision ID: james.westby@ubuntu.com-20110124213606-9ettx0ugl83z0bzp
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# grid.sh: demonstration of the new grid layout
 
2
# Copyright 2010 by Vincent Fourmond
 
3
 
4
# This file is provided as an example of how to use ctioga2. As such,
 
5
# you can do whatever you wish with this file.
 
6
 
 
7
# Include the definition of ct
 
8
. ./test-include.sh
 
9
 
 
10
 
11
$ct 'x**2' --inset 'tl:0.2,0.9:0.4,0.3' \
 
12
    'cos(x)'
 
13
 
 
14
# Oversimplified
 
15
$ct 'x**2' --inset 'cc:0.35' 'cos(x)'
 
16
 
 
17
# Same thing with a range specification, just to check it works fine !
 
18
$ct 'x**2' --inset 'cc:0.35' 'cos(x)' --yrange -2:2
 
19
 
 
20
# $ct 'x**2' '1 - cos(x)' --zoom-inset 'cc:0.3' \
 
21
#     --yrange -1:1 
 
 
b'\\ No newline at end of file'