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

Home » Public Forums » archive » Re: Axis equal
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: Axis equal [message #81791] Wed, 17 October 2012 06:29
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Wednesday, October 17, 2012 1:01:56 PM UTC+2, alx wrote:
> Le mercredi 17 octobre 2012 11:16:10 UTC+2, dave poreh a écrit :
>
>> Folks,
>
>>
>
>> Hi,
>
>>
>
>> How could we make Axis equal in a plot like p=plot(x,y). I want length of x axis and y axis would be same.
>
>>
>
>> Thanks for help,
>
>>
>
>> Cheers,
>
>>
>
>> Dave
>
>
>
> Use the ASPECT_RATIO keyword in NG.
>
> alain.

Thanks guys works perfect :)
Cheers,
Dave
Re: Axis equal [message #81793 is a reply to message #81791] Wed, 17 October 2012 04:01 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le mercredi 17 octobre 2012 11:16:10 UTC+2, dave poreh a écrit :
> Folks,
>
> Hi,
>
> How could we make Axis equal in a plot like p=plot(x,y). I want length of x axis and y axis would be same.
>
> Thanks for help,
>
> Cheers,
>
> Dave

Use the ASPECT_RATIO keyword in NG.
alain.
Re: Axis equal [message #81794 is a reply to message #81793] Wed, 17 October 2012 03:21 Go to previous message
John Coxon is currently offline  John Coxon
Messages: 15
Registered: February 2012
Junior Member
On 17/10/2012 10:16, dave poreh wrote:
> How could we make Axis equal in a plot like p=plot(x,y). I want length of x axis and y axis would be same.

In PLOT, set the /ISOTROPIC keyword to get both on the same scale and
then set XRANGE and YRANGE the same. IDL will create a plot that's
square and both axes are the same scale and length.

--
John Coxon
http://www.chickensinenvelopes.net/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Mean preserving interpolation (conservative interpolation)
Next Topic: Transparent Image Overlays

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

Current Time: Wed Oct 08 11:35:32 PDT 2025

Total time taken to generate the page: 0.00505 seconds