Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: can we use ListVectorPlot to plot arrows? (tail at
Replies: 1   Last Post: Feb 23, 2014 2:48 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Itai Seggev

Posts: 61
Registered: 7/29/13
Re: can we use ListVectorPlot to plot arrows? (tail at
Posted: Feb 23, 2014 2:48 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

Itai Seggev
Mathematica Algorithms R&D

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.