Re: plot a square. [message #22117] |
Sat, 21 October 2000 00:00  |
Ben Tupper
Messages: 186 Registered: August 1999
|
Senior Member |
|
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<p>You might try the ISOTROPIC keyword to plot.
<p>From the online help.
<blockquote TYPE=CITE>
<pre>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</pre>
</blockquote>
<blockquote TYPE=CITE>
<pre>the rectangle defined by the POSITION keyword; one of the axes may be shortened.</pre>
</blockquote>
<blockquote TYPE=CITE>
<pre>See POSITION for more information.</pre>
</blockquote>
<p><br>Note that the window size is not adjusted, rather the axes are.
<p>Ben
<p>Peter Brooker wrote:
<blockquote TYPE=CITE>Assume that I have the following data
<br>x=[0,1,1,0]
<br>y=[0,0,1,1]
<p>this defines a square.
<p>plot,x,y
<p>results in a "non-square" plot.
<p>Is there an easy way to tell IDL to adjust the window size so that the
<br>square will plot as a square on my screen?
<p>thanks</blockquote>
--
<br>Ben Tupper
<br>248 Lower Round Pond Road
<br>POB 106
<br>Bristol, ME 04539
<p>Tel: (207) 563-1048
<br>Email: PemaquidRiver@tidewater.net
<br> </html>
|
|
|