On 12/11/2011 01:10 PM, Pascal wrote: > Le samedi 10 décembre 2011 14:54:12 Hezekiah M. Carty a écrit : > >> On Sat, Dec 10, 2011 at 7:57 AM, Pascal<[email protected]> wrote: >> >>> Hi, >>> >>> I have some trouble with a gradient to use with plimagefr. To me it >>> looks like wrong, can someone confirm if it is a normal behaviour or a >>> bug? I am using the f90 interface. >>> http://pascal.parois.net/public/gradient.png >>>
Ok, I found the problem: in plctrl.c, void plcmap1_calc( void ) //! Bin up cmap 1 space and assign colors to make inverse mapping easy. //! Always do interpolation in HLS space. The rgb is first converted to hls so I can't have a linear gradient in rgb. I was also confusing hls and hsv, so this works in hls: call plscmap1l(.false., & & (/0.0_plflt, 0.499_plflt, 0.501_plflt, 1.0_plflt /),& & (/0.0_plflt, 0.0_plflt, 120.0_plflt, 120.0_plflt /),& & (/0.2_plflt, 1.0_plflt, 1.0_plflt, 0.2_plflt /),& & (/1.0_plflt, 1.0_plflt, 1.0_plflt, 1.0_plflt /) ) The bug report associated (This point needs clarifications): https://sourceforge.net/tracker/?func=detail&aid=3458200&group_id=2915&atid=102915 Pascal ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
