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

Home » Public Forums » archive » Re: How to keep x-axis and y-axis ratio consistant?
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: How to keep x-axis and y-axis ratio consistant? [message #30463] Mon, 22 April 2002 11:03
Wang, Chi-Kuei is currently offline  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 Go to previous message
Dick Jackson is currently offline  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 Go to previous message
Wang, Chi-Kuei is currently offline  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
Re: How to keep x-axis and y-axis ratio consistant? [message #30466 is a reply to message #30465] Mon, 22 April 2002 09:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to keep x-axis and y-axis ratio consistant?
Next Topic: Image analysis and ring identification

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

Current Time: Wed Oct 08 18:53:18 PDT 2025

Total time taken to generate the page: 0.00777 seconds