Similar capacities

This gallery demonstrates cases where ctioga and gnuplot show similar capacities, with different look, though.

Simple examples

First, trigonometric functions:

set title "Simple plot"
plot sin(x), cos(x)
Gnuplot file size: 43
ctioga --xpdf -t 'Simple plot' \
    --math 'sin(x)' 'cos(x)'
CTioga file size: 61
false false

set key outside
plot sin(x),atan(x),cos(atan(x))
Gnuplot file size: 49
ctioga --xpdf --no-title --math \
    'sin(x)' 'atan(x)' 'cos(atan(x))'
CTioga file size: 71
false false

The same without default legends:

set key off
plot sin(x),atan(x),cos(atan(x))
Gnuplot file size: 45
ctioga --xpdf -t -N --math \
    'sin(x)' 'atan(x)' 'cos(atan(x))'
CTioga file size: 66
false false

Filled curves

Although gnuplot has a limited support for filled curves, it should be clear that they are no match for ctioga’s…

set key outside
set title "Intersection of two parabolas"
plot x*x with filledcurves, \
50-x*x with filledcurves, \
x*x with line lt 1
Gnuplot file size: 135
ctioga --xpdf --math \
    -t 'Intersection of two parabolas' \
    --fill top --fill-transparency 0.6 \
    'x**2' --fill bottom  '50 - x**2'
CTioga file size: 142
false false