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

Home » Public Forums » archive » making a checkerboard array?
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: making a checkerboard array? [message #56023 is a reply to message #55935] Tue, 25 September 2007 14:34 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Tue, 25 Sep 2007 09:27:17 -0700, Mike wrote:

> I'm trying to make a checkerboard mask for an array, but I'm missing
> something that is likely to be obvious to the IDL array masters.

> Can anyone help me fill in the missing rectangles like this?
>
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> +++++00000+++++00000+++++00000
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++
> 00000+++++00000+++++00000+++++

l=lindgen(nx,ny)
l=(l mod (xside*2) lt xside) XOR (l/nx mod (yside*2) ge yside)

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Parsing C -> Generating DLL/DLM
Next Topic: selection box in widget program

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

Current Time: Sat Nov 29 18:04:36 PST 2025

Total time taken to generate the page: 1.04292 seconds