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

Home » Public Forums » archive » Summer "English" heat or just me: Array slicing
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: Summer "English" heat or just me: Array slicing [message #85300 is a reply to message #85299] Tue, 23 July 2013 09:12 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
On 07/23/2013 05:51 PM, ameigs wrote:
> What have I forgotten?


That what you want could have another meaning in IDL. Try this:

IDL> print, a[[0,3,5],[0,1,0]]

But this will do what you want:

IDL> print, a[[0,3,5]#[1,1],[0,1]##[1,1,1]]

I don't know if there is another solution.

Cheers,

Fab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Thickness of /box_axes?
Next Topic: Dashed linestyle in vectorized function graphics output, IDL 8.2.3

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

Current Time: Fri Oct 10 04:10:19 PDT 2025

Total time taken to generate the page: 0.16207 seconds