File: plot.basecurve

package info (click to toggle)
darktable 5.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,864 kB
  • sloc: ansic: 361,898; cpp: 102,446; xml: 19,813; lisp: 14,539; sh: 3,771; javascript: 3,264; perl: 1,925; python: 1,485; ruby: 975; makefile: 543; asm: 46; sql: 38; awk: 21
file content (20 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set term pdf
set output 'basecurve.pdf'
set size square
set xlabel 'raw brightness'
set ylabel 'jpg brightness'
set y2label 'sample count'
set logscale y2
set title "measured data"
plot 'basecurve.dat' u ($0/65535.0):1 w l t 'red', \
     '' u ($0/65535):2 w l t 'green', \
     '' u ($0/65535):3 w l t 'blue', \
     '' u ($0/65535):4 w l t 'average', \
     '' u ($0/65535):5 w l t 'red count' axes x1y2, \
     '' u ($0/65535):6 w l t 'green count' axes x1y2, \
     '' u ($0/65535):7 w l t 'blue count' axes x1y2
set title "spline fit"
# set logscale xy
plot 'basecurve.dat' u ($0/65535):2 w l lt 2 t 'green', 'basecurve.fit.dat' u 1:2 w l lt 1 t 'fit'