From: Arjen M. <arj...@wl...> - 2005-04-15 06:44:03
|
hba...@ma... wrote: > > Hello, > > I'd like to make a vector plot where the origins of the vectors are not on a grid. I was able to do this by drawing lines and points on a graph, but I imagine there is a better way. I'm starting with a set of x and y positions that specify each vector's origin and a set of dx & dy values that specify its magnitude and direction. > > Thanks, > -Hazen > The plarrows() function does not expect anything but an array of x, y coordinates and the u, v components of the vector. Use that instead of plvect(). Alternatively: define a pseudo grid with dimensions Nx1 Regards, Arjen |