[ncl-talk] problem to plot raster mode

Rick Brownrigg brownrig at ucar.edu
Wed Jul 17 09:39:40 MDT 2019


HI,

With that coarse of resolution of the data, its going to be tough to get a
really good looking result. You might try using RasterFill and setting the
resource cnRasterSmoothingOn = True:


http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnRasterSmoothingOn

Rick

On Wed, Jul 17, 2019 at 8:50 AM Vanúcia Schumacher via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Hi users,
>
> I'm trying to plot a spatial graph from raster data (mask) using shapefile.
> The problem is that I was able to only plot 34 pixels inside the shapefile
> area, using cnFillMode = "RasterFill".
> However, I would like to not use this command (raster fill) and get a
> spatial graph better defined inside the shapefile, or increase the number
> of pixels within the area shapefile, with a better contour. But I am not
> getting a good result (see figure off_raster).
>
> Attached follows the data and script.
> Thanks any help
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190717/f2714fe5/attachment.html>


More information about the ncl-talk mailing list