Discussion:
gnuplot chromaticity diagrams
(too old to reply)
Dale
2014-12-09 18:40:40 UTC
Permalink
I've been hacking at chromaticity diagrams with gnuplot
http://www.dalekelly.org/gnuplot_xy.html

kind of stuck with how to fill them with color

seems to be related to the point color maybe, or the
palette or rgbimage, XYZ is a valid rgbformulae and
my preference

the "whole" chromaticity diagram is bigger than what can
be viewed on the monitor

the sRGB inside the whole should be viewable on the
monitor

anyone know gnuplot and how to fill these?
I'll be studying in the mean time
--
(my whereabouts below)
http://www.dalekelly.org
Olaf Schultz
2014-12-09 19:24:02 UTC
Permalink
Post by Dale
I've been hacking at chromaticity diagrams with gnuplot
http://www.dalekelly.org/gnuplot_xy.html
kind of stuck with how to fill them with color
seems to be related to the point color maybe, or the
palette or rgbimage, XYZ is a valid rgbformulae and
my preference
the "whole" chromaticity diagram is bigger than what can
be viewed on the monitor
the sRGB inside the whole should be viewable on the
monitor
anyone know gnuplot and how to fill these?
I'll be studying in the mean time
If you find a solution: Please post it here... also usefull for me!

Greetings,

Olaf
Alex van der Spek
2014-12-10 15:37:42 UTC
Permalink
Post by Dale
I've been hacking at chromaticity diagrams with gnuplot
Netpbm's ppmcie does that nicely. Use ppmwheel for a HSV colour wheel.

http://netpbm.sourceforge.net/doc/ppmcie.html

Pipe the output to one of netpbm image convertors, write, say an PNG.

Plot the PNG as rgb image overlaying it on a gnuplot plot.

Alex
Post by Dale
http://www.dalekelly.org/gnuplot_xy.html
kind of stuck with how to fill them with color
seems to be related to the point color maybe, or the palette or
rgbimage, XYZ is a valid rgbformulae and my preference
the "whole" chromaticity diagram is bigger than what can be viewed on
the monitor
the sRGB inside the whole should be viewable on the monitor
anyone know gnuplot and how to fill these? I'll be studying in the mean
time
Dale
2014-12-11 04:40:20 UTC
Permalink
Post by Alex van der Spek
Post by Dale
I've been hacking at chromaticity diagrams with gnuplot
Netpbm's ppmcie does that nicely. Use ppmwheel for a HSV colour wheel.
http://netpbm.sourceforge.net/doc/ppmcie.html
Pipe the output to one of netpbm image convertors, write, say an PNG.
Plot the PNG as rgb image overlaying it on a gnuplot plot.
Alex
Thanks Alex, a treasure of programs.

I can get a single xy RGB gamut within CIE with ppmcie alone.
without gnuplot, I'll add this to my list of HOWTOs on my site
in my signature

I can also get u'v', and non-709 RGB spaces

a multiplot mode would be nice, not limited to the CIE spectral locus
with non-Maxwell spaces too

a profile attacher would be nice for non-709 and non-Maxwell spaces
(projectors, printing, data you want in non-clipped input space, etc.)

maybe I can get these in different parts of netpbm

what I get with gnuplot is multiple plot comparisons, if just
for white point changes, gnuplot gives me mixing and other editing
views too, I think, I have more systems than science experience and
am trying to combine the two

rgbimage in gnuplot's one mode uses a 5 column file x,y,r,g,b, whereas
the ppm file default is 512x512 pixels

someone else suggested samples, and isosample settings

it will take me some time to figure out rgbimage, don't know if I
can get rid of the black background in the ppmcie file though
Post by Alex van der Spek
Post by Dale
http://www.dalekelly.org/gnuplot_xy.html
kind of stuck with how to fill them with color
seems to be related to the point color maybe, or the palette or
rgbimage, XYZ is a valid rgbformulae and my preference
the "whole" chromaticity diagram is bigger than what can be viewed on
the monitor
the sRGB inside the whole should be viewable on the monitor
anyone know gnuplot and how to fill these? I'll be studying in the mean
time
--
(my whereabouts below)
http://www.dalekelly.org
Olaf Schultz
2014-12-16 15:02:26 UTC
Permalink
Moin,

I struggled IIRC first time in 2011 to generate these plots with
gnuplot. Now I had a little bit more time and developed a dirty
solution: generating with an awk-script a file containing a lot of
points with x,y and the RGB-color (0x....)

Files stored in

www.enhydralutris.de/Diverses/plotCIEwithGnuplot.tgz

Looking on the ps-file http://docs-hoffmann.de/ciesuper.txt
is frustrating me... but at least I have now a way that produces similar
(at least at my TFT and visual impression) with gnuplot:-)

Olaf, HTH

Loading...