File: plot.tonecurve

package info (click to toggle)
darktable 4.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 52,960 kB
  • sloc: ansic: 329,632; cpp: 90,717; xml: 18,803; lisp: 12,673; sh: 3,478; javascript: 3,264; perl: 1,888; python: 1,082; ruby: 972; makefile: 536; asm: 46; sql: 38; awk: 21
file content (18 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set term pdf
set output 'tonecurve.pdf'
set size square
set xlabel 'raw brightness'
set ylabel 'jpg brightness'
set y2label 'sample count'
set logscale y2
set title "measured data"
plot \
    'tonecurve.dat' u ($0/65535.0):1 w l t 'L*', \
    '' u ($0/65535.0):2 w l t 'a*', \
    '' u ($0/65535.0):3 w l t 'b*', \
    '' u ($0/65535):4 w l t 'L count' axes x1y2, \
    '' u ($0/65535):5 w l t 'a* count' axes x1y2, \
    '' u ($0/65535):6 w l t 'b* count' axes x1y2
set title "spline fit"
# set logscale xy
plot 'tonecurve.dat' u ($0/65535):1 w l lt 2 t 'L*', 'tonecurve.fit.dat' u 1:2 w l lt 1 t 'fit'