Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2660 > unrolled thread

gnuplot chromaticity diagrams

Started byDale <dale@dalekelly.org>
First post2014-12-09 18:40 +0000
Last post2014-12-16 16:02 +0100
Articles 6 — 4 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  gnuplot chromaticity diagrams Dale <dale@dalekelly.org> - 2014-12-09 18:40 +0000
    Re: gnuplot chromaticity diagrams Olaf Schultz <o.schultz@enhydralutris.de> - 2014-12-09 20:24 +0100
    Re: gnuplot chromaticity diagrams Karl <mail.kfr@gmx.net> - 2014-12-09 20:52 +0100
    Re: gnuplot chromaticity diagrams Alex van der Spek <zdoor@xs4all.nl> - 2014-12-10 15:37 +0000
      Re: gnuplot chromaticity diagrams Dale <dale@dalekelly.org> - 2014-12-11 04:40 +0000
        Re: gnuplot chromaticity diagrams Olaf Schultz <o.schultz@enhydralutris.de> - 2014-12-16 16:02 +0100

#2660 — gnuplot chromaticity diagrams

FromDale <dale@dalekelly.org>
Date2014-12-09 18:40 +0000
Subjectgnuplot chromaticity diagrams
Message-ID<82458a.7j5.17.1@news.alt.net>
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

[toc] | [next] | [standalone]


#2661

FromOlaf Schultz <o.schultz@enhydralutris.de>
Date2014-12-09 20:24 +0100
Message-ID<cep0iiF1il2U1@mid.individual.net>
In reply to#2660
Dale wrote:
> 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

[toc] | [prev] | [next] | [standalone]


#2662

FromKarl <mail.kfr@gmx.net>
Date2014-12-09 20:52 +0100
Message-ID<m67jpo$bkr$1@news.rz.uni-karlsruhe.de>
In reply to#2660
Am 09.12.2014 um 19:40 schrieb 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
> 
(i only replied to c.g.a.gnuplot, not reading the other groups)

I´d do something like this :

set view map
set pm3d

set samp 100
set isos 100

splot '++' us 1:2:(in_diagram($1,$2)==1 ? rgb($1,$2) : NaN) # with dots?


  Karl

[toc] | [prev] | [next] | [standalone]


#2663

FromAlex van der Spek <zdoor@xs4all.nl>
Date2014-12-10 15:37 +0000
Message-ID<548868c6$0$2956$e4fe514c@news2.news.xs4all.nl>
In reply to#2660
On Tue, 09 Dec 2014 18:40:40 +0000, Dale wrote:

> 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

> 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

[toc] | [prev] | [next] | [standalone]


#2667

FromDale <dale@dalekelly.org>
Date2014-12-11 04:40 +0000
Message-ID<827som.o77.17.1@news.alt.net>
In reply to#2663
On 2014-12-10, Alex van der Spek <zdoor@xs4all.nl> wrote:
> On Tue, 09 Dec 2014 18:40:40 +0000, Dale wrote:
>
>> 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





>
>> 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

[toc] | [prev] | [next] | [standalone]


#2669

FromOlaf Schultz <o.schultz@enhydralutris.de>
Date2014-12-16 16:02 +0100
Message-ID<cfavs2Feql5U1@mid.individual.net>
In reply to#2667
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web