comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: idl routine velovect
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: idl routine velovect [message #8131] Thu, 06 February 1997 00:00
davidf is currently offline  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
-----------------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 5.0 news at RSI website
Next Topic: idl routine velovect

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:12:11 PDT 2025

Total time taken to generate the page: 0.72172 seconds