Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: can we use ListVectorPlot to plot arrows? (tail at

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132367] Re: can we use ListVectorPlot to plot arrows? (tail at
  • From: Itai Seggev <itais at wolfram.com>
  • Date: Sun, 23 Feb 2014 02:55:29 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20140220082759.743BB69EB@smc.vnet.net>

On Thu, Feb 20, 2014 at 03:27:59AM -0500, Alan wrote:
> Is there an option that will force ListVectorPlot to plot
> arrows from the points to the displacement? (By default,
> the point is in the middle of the arrow, not at its tail.)
> Using VectorPoints -> All, of course.
> 
> Thanks,
> Alan Isaac

VectorStyle -> "LeftArrow".

Do be honest, though, I find ListVectorPlot so difficult to use for these
simple vector visualization cases that I typically just construct it myself.

myListVectorPlot[data : {{{_, _}, {_, _}}?MatrixQ ..}] := 
 Graphics[Arrow[{#[[1]], #[[1]] + #[[2]]}] & /@  data]  

(*Insert styling as desired,like ColorData[1][1] to reproduce the Plot default
 color*) 

--
Itai Seggev
Mathematica Algorithms R&D
217-398-0700 



  • Prev by Date: Some linear constraints seem to be ignored in function NMinimize with
  • Next by Date: Re: Possible bug in Floor function?
  • Previous by thread: can we use ListVectorPlot to plot arrows? (tail at point, head at displacement)
  • Next by thread: Combining an image with a SectorChart graphic.