X-Received: by 10.129.104.214 with SMTP id d205mr7086206ywc.78.1479153566460; Mon, 14 Nov 2016 11:59:26 -0800 (PST) X-Received: by 10.157.37.59 with SMTP id k56mr1208302otb.3.1479153566388; Mon, 14 Nov 2016 11:59:26 -0800 (PST) Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!n6no1307229qtd.0!news-out.google.com!x12ni209ita.0!nntp.google.com!q124no1678041itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 14 Nov 2016 11:59:26 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2801:84:0:1220:ad28:1873:e3cd:6c22; posting-account=wj2lXwoAAAB_FcjN6d--XkL6tjzdeNVP NNTP-Posting-Host: 2801:84:0:1220:ad28:1873:e3cd:6c22 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <093d02c9-93e0-4d98-b0ab-3144692fdd0a@googlegroups.com> Subject: Overlapping/Merge two density plot red and green scale using gnuplot From: Graziani Candiotto Injection-Date: Mon, 14 Nov 2016 19:59:26 +0000 Content-Type: text/plain; charset=UTF-8 Xref: csiph.com comp.graphics.apps.gnuplot:3460 Hello People, I would like to ask the follow question. How can I overlap/merge two density plot (in attach) using gnuplot. One image is in red scale and the other is in green scale. Density plot in red and green scale In theses two images the lowest value is white (background) and the highest values are represented by pure red [ RGB (255,0,0) ] and green [ RGB (0,255,0) ] scale. I looking for a way two overlap this two images, such that intersections are a combination of red and green to give a yellow intensity dependent on the "red" and "green" values. In summary I need that resultant image had red, green and yellow colors. I've tried some methods to interpolate the two images, but the resultant image is: interpolation I was expecting a light yellow [ RGB (255,255,0) ] color resultant but I get a dark yellow [ RGB (127,127,0) ]. How can I solve this problem using gnuplot. The data files and gnuplot script for the red and green images are available in the link below www.dropbox.com/s/teucom4uco283gp/overflow_example.tar.gz?dl=0 Thanks for attention.