Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16589
| From | Itai Seggev <itais@wolfram.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: can we use ListVectorPlot to plot arrows? (tail at |
| Date | 2014-02-23 07:48 +0000 |
| Message-ID | <lec947$l3l$1@smc.vnet.net> (permalink) |
| References | <20140220082759.743BB69EB@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar
Re: can we use ListVectorPlot to plot arrows? (tail at Itai Seggev <itais@wolfram.com> - 2014-02-23 07:48 +0000
csiph-web