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 image ratio in Shade_surf
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to keep image ratio in Shade_surf [message #42315] Wed, 02 February 2005 14:54
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Hang Gao writes:

> I tried to display a 400*200 elevation data with Shade_surf procedure.
> However, the aspect ratio of the result was always incorrect. IDL
> seemd to rescale the elevation image into an almost square shape.
>
> My question: How to keep aspect ratio?

Use FSC_Surface. :-)

ID> FSC_Surface, mySurfaceData, Style=2, /Elevation_Shading

Cheers,

David

P.S. FSC_Surface is found here:

http://www.dfanning.com/programs/fsc_surface.pro
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: How to keep image ratio in Shade_surf
Next Topic: Tetris Game

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

Current Time: Sat Oct 11 17:21:17 PDT 2025

Total time taken to generate the page: 0.00979 seconds