Re: How to keep x-axis and y-axis ratio consistant? [message #30463] |
Mon, 22 April 2002 11:03 |
Wang, Chi-Kuei
Messages: 6 Registered: April 2002
|
Junior Member |
|
|
Ha, it works, too.
"Dick Jackson" <dick@d-jackson.com> wrote in message
news:LLXw8.599$zj6.24598@news2.calgary.shaw.ca...
>
> "David Fanning" <david@dfanning.com> wrote in message
> news:MPG.172de97a7e8e104c9898a1@news.frii.com...
>> chi-kuei (cw94@cornell.edu) writes:
>>
>>> As title, how do I do this? My data is 117pixels(x) by 144pixles(y).
> If I
>>> set the window size 117x144, the ratio is still not 1.
>>
>> Try this:
>>
>> Plot, Findgen(11), Position=Aspect(1.0)
>>
>> You can find the Aspect program on my web page:
>>
>> http://www.dfanning.com/programs/aspect.pro
>
> You may also be interested in the /Isotropic keyword to Plot:
>
> Plot, FIndGen(11), /Isotropic
>
> Cheers,
> --
> -Dick
>
> Dick Jackson / dick@d-jackson.com
> D-Jackson Software Consulting / http://www.d-jackson.com
> Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
>
>
|
|
|
Re: How to keep x-axis and y-axis ratio consistant? [message #30464 is a reply to message #30463] |
Mon, 22 April 2002 10:29  |
Dick Jackson
Messages: 347 Registered: August 1998
|
Senior Member |
|
|
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.172de97a7e8e104c9898a1@news.frii.com...
> chi-kuei (cw94@cornell.edu) writes:
>
>> As title, how do I do this? My data is 117pixels(x) by 144pixles(y).
If I
>> set the window size 117x144, the ratio is still not 1.
>
> Try this:
>
> Plot, Findgen(11), Position=Aspect(1.0)
>
> You can find the Aspect program on my web page:
>
> http://www.dfanning.com/programs/aspect.pro
You may also be interested in the /Isotropic keyword to Plot:
Plot, FIndGen(11), /Isotropic
Cheers,
--
-Dick
Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
|
|
|
Re: How to keep x-axis and y-axis ratio consistant? [message #30465 is a reply to message #30464] |
Mon, 22 April 2002 09:43  |
Wang, Chi-Kuei
Messages: 6 Registered: April 2002
|
Junior Member |
|
|
Yes, That's a handy program.
Thanks,
Chi-Kuei
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.172de97a7e8e104c9898a1@news.frii.com...
> chi-kuei (cw94@cornell.edu) writes:
>
>> As title, how do I do this? My data is 117pixels(x) by 144pixles(y).
If I
>> set the window size 117x144, the ratio is still not 1.
>
> Try this:
>
> Plot, Findgen(11), Position=Aspect(1.0)
>
> You can find the Aspect program on my web page:
>
> http://www.dfanning.com/programs/aspect.pro
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
|