I can confirm that it is definitely awkward to interpolate in RGB space and 
then correctly set the direction parameter to avoid wierd interpolation effects 
by going the wrong way round the colour wheel. I've just spent the time since I 
sent the first email trying to do it and now my head hurts, I've given up and 
in true British style I've gone and made myself a cup of tea :-D

If the consensus is as Arjen and I see it then I'll make the required changes 
asap.

Phil

Get Outlook for Android<https://aka.ms/ghei36>



From: Arjen Markus
Sent: Tuesday, 24 July, 14:35
Subject: RE: [Plplot-general] rgb colourscale interpolation
To: Phil Rosenberg, plplot_general


Hi Phil, > -----Original Message----- > From: Phil Rosenberg 
[mailto:p.d.rosenb...@gmail.com] > > I feel that if someone provides colours in 
rgb values we really should interpolate in > rgb values. Or at the very least 
we need to make it very clear in the documentation > that we always interpolate 
in hls space even if colours are provided as rgb. > > Any thoughts? > I agree: 
if you specify the colours in RGB, then you are not interested in the HLS 
colour space. Indeed it would be very awkward to select the RGB coordinates in 
such a way that you get intermediate RGB colours, when the interpolation is 
actually done in HLS. Maybe there are good reasons to do it like this, but then 
I sure would like to hear them. I tend to think that it is simply an oversight. 
Regards, Arjen DISCLAIMER: This message is intended exclusively for the 
addressee(s) and may contain confidential and privileged information. If you 
are not the intended recipient please notify the sender immediately and destroy 
this message. Unauthorized use, disclosure or copying of this message is 
strictly prohibited. The foundation 'Stichting Deltares', which has its seat at 
Delft, The Netherlands, Commercial Registration Number 41146461, is not liable 
in any way whatsoever for consequences and/or damages resulting from the 
improper, incomplete and untimely dispatch, receipt and/or content of this 
e-mail.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to