[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*Subject*: Re: plot a square.*From*: Ben Tupper <pemaquidriver(at)tidewater.net>*Date*: Sat, 21 Oct 2000 07:34:55 -0400*Newsgroups*: comp.lang.idl-pvwave*Organization*: http://extra.newsguy.com*References*: <39F0D290.B05063FC@email.sps.mot.com>*Xref*: news.doit.wisc.edu comp.lang.idl-pvwave:21819

Hello,

You might try the ISOTROPIC keyword to plot.

From the online help.

ISOTROPIC Set this keyword to force the scaling of the X and Y axes to be equal. Note - The X and Y axes will be scaled isotropically and then fit within

the rectangle defined by the POSITION keyword; one of the axes may be shortened.

See POSITION for more information.

Note that the window size is not adjusted, rather the axes are.

Ben

Peter Brooker wrote:

Assume that I have the following data--

x=[0,1,1,0]

y=[0,0,1,1]this defines a square.

plot,x,y

results in a "non-square" plot.

Is there an easy way to tell IDL to adjust the window size so that the

square will plot as a square on my screen?thanks

Ben Tupper

248 Lower Round Pond Road

POB 106

Bristol, ME 04539

Tel: (207) 563-1048

Email: PemaquidRiver@tidewater.net

**References**:**plot a square.***From:*Peter Brooker

- Prev by Date:
**Re: 5.4** - Next by Date:
**NO MORE GIF READ OR WRITE IN IDL 5.4** - Prev by thread:
**Re: plot a square.** - Next by thread:
**NO MORE GIF READ OR WRITE IN IDL 5.4** - Index(es):