Re: idl routine velovect [message #8131] |
Thu, 06 February 1997 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Martin Kempt <mk1@kepler.unh.edu> writes:
> I'm struggling with the idl routine VELOVECT.
> I would like to obtain a squared output of a velocity field
> in X windows and in postscript. Neither setting:
>
> IDL>window,0,xs=400,ys=400
>
> nor
>
> IDL>device,filename='myfile.ps',xsize=10,ysize=10
>
> gave an exactly squared plot in X windows or postscript?!
I would download the program ASPECT from my web page.
It allows you to make a plot of any aspect ratio in the
current graphics window (including PostScript). If I
want a "square" plot, I do this:
squarePositions = ASPECT(1.0)
PLOT, data, Position=squarePositions
> Furthermore, does anyone know how to fix the length scale
> of the vectors. The VELOVECT routine sizes the vectors
> in relation to the longest vector. This does not allow to compare
> different vector fields.
Have you tried setting the LENGTH keyword?
Cheers!
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
|
|
|