Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

ListVectorPlot[ ] absolute, definite vector length

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131493] ListVectorPlot[ ] absolute, definite vector length
  • From: roby <roby.nowak at gmail.com>
  • Date: Fri, 9 Aug 2013 01:48:26 -0400 (EDT)
  • 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

Dear Group,

is it possible to plot vectors of definite length using ListVectorPlot ?

I am trying to plot vectors starting from specified (grid) points.
I would like that the vectors would be drawn exact with their length's relative to the units of the given gridpoints.

To do so I use VectorPoints -> All to get only the vectors in the data (no intermediate interpolated vectors)
and VectorStyle -> "LeftArrow" to start the vectortails from the grid points.


What is further neeeded is an absolut VectorScale (not relative to the plot).

The Example below draws Vectors with a length of about 0.41 I would like the length's to be eact 1.0 is this in general possible with ListVectorPlot?

 
ListVectorPlot[Table[{{x, y}, {1, 0}}, {x, -2, 2, 1}, {y, -2, 2, 1}], 
 VectorPoints -> All, VectorStyle -> ("Left" <> "Arrow"), 
 PlotRangePadding -> 1]

Regards Robert



  • Prev by Date: Cases or Select?
  • Next by Date: Help with fitting
  • Previous by thread: Re: Mathematica does not recognize C Compiler
  • Next by thread: Re: absolute, definite vector length