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

Home » Public Forums » archive » Square pixels in surface/lego plots
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: Square pixels in surface/lego plots [message #8622 is a reply to message #8407] Mon, 24 March 1997 00:00 Go to previous message
Bruce Macintosh is currently offline  Bruce Macintosh
Messages: 5
Registered: March 1997
Junior Member
David Fanning wrote:
>
> Bruce Macintosh writes:
>
>> Let us say I have a rectangular array that I wish to make a
>> lego-style surface plot of.
>>
>> What's the simplest way to make sure the pixels come out reasonably
>> square?
>
> Download the program ASPECT from my web page and then make
> a plot with a square aspect ratio, like this:
>
> SURFACE, Dist(60,30), /Lego, Position=Aspect(1.0)
>
> David
>

This turns out not to quite work. David's program does
calculate (nicely) the plot size to deal with funny-shaped windows,
but doesn't deal with oddly-shaped arrays going into surface.
For example,

figt=dist(60,10)
window,0,xs=500,ys=500
surface,figt,/lego,pos=aspect(1.0)

certainly doesn't produce square lego pixels.

Any alternative suggestions? This is vexing...If IDL 5 has a
/iso keyword I'd even be willing to start installing the beta.

(Please email as well as post replies - my newsfeed is unreliable.)

Bruce Macintosh
bmac@igpp.llnl.gov
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Software for importing EPS files into MS Office applications
Next Topic: Linked List

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

Current Time: Fri Oct 10 19:39:31 PDT 2025

Total time taken to generate the page: 0.23760 seconds