[ncl-talk] Add/remove polymarker based on condition

Rick Brownrigg brownrig at ucar.edu
Fri Mar 27 11:26:50 MDT 2015


Hi David,

I don't know definitively, but my guess is that the setvalues approach is
not plausible.  Setvalues wants to operate on some resource associated with
the polymarker, and to the best of my knowledge (and a quick look through
the source code), there is no "visibility" type resource available.

Rick


On Thu, Mar 26, 2015 at 12:47 PM, David Craig <dcdavemail at gmail.com> wrote:

> Hi,
>
> I am plotting a sequence of contour maps similar to the example script
> animate_1.ncl. The data array for the contours is updated each iteration
> using setvalues. I wish to add polymarkers to the maps based on a
> condition being true in a particular iteration and remove them if the
> condition is not through. Is it possible to do this using setvalues or
> should I be redrawing the entire map each iteration??
>
> thanks in advance
> Dave
> _______________________________________________
> ncl-talk mailing list
> 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/20150327/f9046672/attachment.html 


More information about the ncl-talk mailing list