VectorStyle for centered vector tail?
- To: mathgroup at smc.vnet.net
- Subject: [mg94168] VectorStyle for centered vector tail?
- From: Stoney Ballard <stoneyb at gmail.com>
- Date: Sat, 6 Dec 2008 06:15:38 -0500 (EST)
With VectorPlot, I'd like to be able to draw vectors such that the tail of the vector is at the center of the vector box, rather than having the vector lines intersect the center in the middle of the line. The result should be a grid of vectors such that the tails are all on the grid points. I've tried a variety of things with VectorStyle and VectorScale, but I haven't found a way to make it draw only the second half of the vector line. I'm trying to make a pin vector plot like this: ListVectorPlot[Table[{y, -x}, {x, -3, 3, 0.2}, {y, -3, 3, 0.2}], VectorStyle -> Arrowheads[{{0.004, 0.5, Graphics[Disk[]]}}]] but with the lines on only one side of the dots, while the dots remain on grid points. Any suggestions will be greatly appreciated!