Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: idl array q...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 5699 of 5741
Post > Topic >>

Re: idl array question

by David Fanning <news@[EMAIL PROTECTED] > May 2, 2008 at 12:31 PM

ikevi10@[EMAIL PROTECTED]
 writes:

> So if I define my arrayleft:
> arrayleft=original(*,*,0,*)
> arrayright=original(*,*,1,*)
> 
> I am still left with an 4 index array (one index is 1 though... which
> I just want to get rid of)

I would try this:

  arrayleft=reform(original(*,*,0,*))
  arrayright=reform(original(*,*,1,*))

REFORM, used like this, will remove all dimensions of
length 1.

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")




 3 Posts in Topic:
idl array question
ikevi10@[EMAIL PROTECTED]  2008-05-02 11:09:15 
Re: idl array question
David Fanning <news@[E  2008-05-02 12:31:21 
Re: idl array question
ikevi10@[EMAIL PROTECTED]  2008-05-02 11:51:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 7:07:38 CDT 2008.