Re: List plotting a vector field containing invalid data

*To*: mathgroup at smc.vnet.net*Subject*: [mg52141] Re: [mg52119] List plotting a vector field containing invalid data*From*: "David Park" <djmp at earthlink.net>*Date*: Fri, 12 Nov 2004 02:13:54 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Gareth, Why don't you use the second form of ListPlotVectorField? "ListPlotVectorField[{{pt,vec},{pt,vec},...}] displays a list of vectors, each based at the corresponding point." Convert your data to include the pt coordinates of each vector. Just throw out the the unwanted points. Flatten to the appropiate level. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Gareth Owen [mailto:usenet at gwowen.freeserve.co.uk] To: mathgroup at smc.vnet.net I'm solving a 2D CFD problem, which is generating a lot of co-located 2D velocity field data, using a regular rectangular grid. Some of the grid is masked out, representing ocean bottom topography. Is there a relatively simple way to modify ListPlotVectorField to ignore the masked out values (which are stored as as unphysically large values, but this is easily modified) Thanks.