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


Groups > comp.graphics.apps.gnuplot > #3466

Re: Overlapping/Merge two density plot red and green scale using gnuplot

From dale <dale@dalekelly.org>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Overlapping/Merge two density plot red and green scale using gnuplot
Date 2016-11-18 00:42 -0500
Message-ID <9sipsf.j97.19.1@news.alt.net> (permalink)
References <093d02c9-93e0-4d98-b0ab-3144692fdd0a@googlegroups.com> <9siep8.i2q.19.1@news.alt.net>

Show all headers | View raw


On 11/17/2016 9:32 PM, dale wrote:
> 
> I could hack at a set operation later on ...

okay, a matrix operation will do first

[R,G,B]=[R]+[G]+[B]

for your example you have [R]=255 [G]=255 [B]=0

[R,G,B]=[255]+[255]+[0]=[255,255,0]

to get [C,M,Y] invert the [R,G,B] matrix
or invert [R],[G].[B] then add the three matrices to get the inverse of 
[R,G,B] which is [C,M,Y]

some other matrix inversion algorithms can be found on

https://www.mathworks.com/help/matlab/math/inverses-and-determinants.html

or

https://www.gnu.org/software/octave/doc/interpreter/Basic-Matrix-Functions.html


-- 
dale | http://www.dalekelly.org

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Overlapping/Merge two density plot red and green scale using gnuplot Graziani Candiotto <graz13@gmail.com> - 2016-11-14 11:59 -0800
  Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-15 21:13 -0500
    Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-15 21:45 -0500
      Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-16 00:51 -0500
        Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-16 07:41 -0500
  Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-17 21:32 -0500
    Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-18 00:42 -0500
      Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-18 00:46 -0500
      Re: Overlapping/Merge two density plot red and green scale using gnuplot dale <dale@dalekelly.org> - 2016-11-18 21:57 -0500

csiph-web