[ncl-talk] plot masked vectors
Michele Petrini - CITG
M.Petrini at tudelft.nl
Thu May 31 03:22:31 MDT 2018
Hi Adam,
thank you for the reply.
However, even setting the resource I don’t get rid of the tiny vectors. Below the resources I set for vector plot
res_vc = res
res_vc at vcRefMagnitudeF = 20. ; define vector ref mag
res_vc at vcRefLengthF = 0.01 ; define length of vec ref
res_vc at vcRefAnnoArrowLineColor = "black" ; change ref vector color
res_vc at vcRefAnnoArrowUseVecColor = False ; don't use vec color for ref
res_vc at vcGlyphStyle = "CurlyVector" ; turn on curly vectors
res_vc at vcLineArrowColor = "white" ; change vector color
res_vc at vcLineArrowThicknessF = 2.5 ; change vector thickness
res_vc at vcVectorDrawOrder = "Draw" ; draw vectors last
res_vc at tfDoNDCOverlay = True
res_vc at vcMinDistanceF = 0.017
res_vc at vcMinFracLengthF = 0.0
res_vc at vcMinMagnitudeF = 300.
any thoughts?
thanks!
******************************************************************
Michele Petrini, PhD
Department of Geoscience and Remote Sensing, TUDelft
Delft, The Netherlands
M.Petrini at tudelft.nl<mailto:M.Petrini at tudelft.nl>
+39 3398367372
michele.petrins (Skype alias)
On 31 May 2018, at 00:48, Adam Phillips <asphilli at ucar.edu<mailto:asphilli at ucar.edu>> wrote:
Hi Michele,
Yes there is. Try setting vcMinMagnitudeF:
http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcMinMagnitudeF
Three examples use this resource:
http://www.ncl.ucar.edu/Applications/res_list.shtml#vcMinMagnitudeF
Hope that helps!
Adam
On Wed, May 30, 2018 at 4:38 PM, Michele Petrini - CITG <M.Petrini at tudelft.nl<mailto:M.Petrini at tudelft.nl>> wrote:
Dear helpdesk,
I am trying to plot velocity vectors over a contour (+other stuff, see attached pdf).
I have a question, is there a way to mask out the small vectors and leave only velocity vectors exceeding some threshold (let’s say 100 m/yr)?
If I try to mask the u/v variables, I get an error.
Looking on the internet, I see that there is someone suggesting to overlay two vector contours, but the procedure seems to be a little bit complicated, and I wonder if there exists a simpler way,..
thanks!
Michele
******************************************************************
Michele Petrini, PhD
Department of Geoscience and Remote Sensing, TUDelft
Delft, The Netherlands
M.Petrini at tudelft.nl<mailto:M.Petrini at tudelft.nl>
+39 3398367372
michele.petrins (Skype alias)
_______________________________________________
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
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/<http://www.cgd.ucar.edu/staff/asphilli/> 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180531/5fa10e7b/attachment.html>
More information about the ncl-talk
mailing list