[Index for ./basics]
[Return to Master Index]
gen_drog_line
(./basics/gen_drog_line.m)
Function Synopsis
outmat=gen_drog_line(nd,z,end_points)
Help text
GEN_DROG_LINE Mouse-driven drogue input coordinate generator
GEN_DROG_LINE - Mouse-driven drogue input coordinate generator
prompts the user to draw a line on the current
axes and returns an array of coordinates suitable
for a drogue initialization file.
INPUT: nd - number of drogues along the line.
z - the depth to assign to the horizontal drogue
locations.
end_points - optional 4x1 vector defining the end points of
the sampling lines.
The 4 values are [X1 Y1 X2 Y2], and if defined
they take precedence over the mouse-driven facility.
OUTPUT: outmat - if z is supplied as input, outmat is a (nx*ny*length(z)) by 3
array of 3-D starting locations
if z is NOT supplied as input, outmat is a (nx*ny) by 2
array of 2-D starting locations
Call as: outmat=gen_drog_line(nd)
OR: outmat=gen_drog_line(nd,z)
OR: outmat=gen_drog_line(nd,z,end_points)
Written by :Brian O. Blanton
December 1998
Cross-Reference Information
This function calls
Produced by mat2html on Tue Feb 2 16:15:45 EST 1999
Cross-Directory links are: OFF