[ncl-talk] Remove contours around objects
Alan Brammer
abrammer at albany.edu
Thu Feb 18 09:12:56 MST 2016
try
cnRasterSmoothingOn = True
with
cnFillMode = “RasterFill”
It will make it less “blocky” without adding the gradients that areafill adds.
https://www.ncl.ucar.edu/Applications/raster.shtml <https://www.ncl.ucar.edu/Applications/raster.shtml>
https://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnRasterSmoothingOn <https://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnRasterSmoothingOn>
Alan
> On 18 Feb 2016, at 11:07, paraskevi.giannakaki at giub.unibe.ch wrote:
>
>
> Dear all,
>
> I try to plot some objects that have integer values between 1 and 40. My problem is that instead of one-color objects I have a contour around my objects with the previous color from the color-table (see the attached figure). I have tried different tricks such as insert white color between the values of the objects but still I have the same result. Only with cnFillMode <x-msg://45/redir.aspx?REF=Yt7U5RDz9Krre16dsZsm3fbmnaNZkZ-mFR9CnTP2JSiGrSOCfTjTCAFodHRwczovL3d3dy5uY2wudWNhci5lZHUvRG9jdW1lbnQvR3JhcGhpY3MvUmVzb3VyY2VzL2NuLnNodG1sI2NuRmlsbE1vZGU.> = "RasterFill" I do not see this contour but then the plots are not so nice. How can I get rid of these contours? Thank you very much in advance for your time.
>
> NCL version 6.0.0
> (Ubuntu 4.8.2-19ubuntu1) 4.8.2
>
> Best regards,
> Evi
>
> Paraskevi Giannakaki , PhD
> Climate impact group,
> Institute of Geography, University of Bern
> Hallerstrasse 12, 5th floor
> CH-3012 Bern
> Mail: paraskevi.giannakaki at giub.unibe.ch <mailto:paraskevi.giannakaki at giub.unibe.ch><test_plot.ncl><colortest.png>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160218/c644bd4d/attachment.html
More information about the ncl-talk
mailing list