Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Extending plot types - adding a CIE 1931 type diagram Followup-To: comp.graphics.apps.gnuplot Date: Wed, 07 Aug 2013 18:51:12 -0700 Organization: gnuplot development team Lines: 31 Message-ID: References: <44f7bc66-d250-4545-8177-918325babe8d@googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 8 Aug 2013 01:51:13 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e947cb29d2533e27aa00183e80187dbb"; logging-data="25093"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vyQrO3q8j6ZGEXdk6H+qA" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:e3M8IYwjNlJh5nz2XR3bIluwKC0= Xref: csiph.com comp.graphics.apps.gnuplot:1953 hvezdny.cestovatel@gmail.com wrote: > Hello guys, > > I would like to extends Gnuplot with the ability to generate a CIE1931 > digram of color spectrum, basically looking like this one: > > http://commons.wikimedia.org/wiki/File:CIExy1931.svg > > This kind of generator is already present in netpbm package as ppmcie. > > I would like Gnuplot to be able to provide this background for the > plot, so one could easily plot curves over this background directly > with 'plot' command, withou the need of fitting the background to the > actual plot. > > So the task would be: > 1. generate the background color image with the right coordinates, so > that 2. plot points and curves into that plot as usual, taking advance > of the coordinate system of the CIE x-y diagram If you already have such an image, it can be mapped onto a specific coordinate range of the plot area using the plot style "with rgbimage". See for example http://gnuplot.sourceforge.net/demo_cvs/barchart_art.html > > Thanks in advance for ideas, > Martin