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
>

If you use plimage, plimagefr, or plshades you will only have as many
steps in the gradient as you have elements in the source array.  If
you want a smoother gradient you can either use a larger source array
with smoothly varying values in plimagefr or you can use the
plgradient function. plgradient supports smooth gradients similar to
your example from Gimp.  Depending on your output device, plgradient
will either give an example similar to what you showed from Gimp or it
will use internal fallback to approximate a smooth gradient.

Hez

------------------------------------------------------------------------------
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

Reply via email to