Syntax of @subset

I’d like to substitute {ind,@subset} a piece of one line of an image. Let’s say image x=0-5,y=7 from image ind.

Is there a possibility to describe that with @subset? Actually I use math processor for loop to fill a vector.

Thanks in advance.

For such complex subsets, you can use function crop()’ from the math parser, like this:

{$ind,crop(0,7,6,1)}

Very good, thank you David.

Is there also a similar elegant way to set such a vector back into an image? Actually I am trying around with image and/or draw()!

Yes, math function draw() is the more flexible way to do that.