Welcome! Log In Create A New Profile

Advanced

Virtual window around an object

Posted by ROSSELLAF 
Virtual window around an object
July 18, 2023 01:22PM
Hello Jaewon,
I would like to know if it is possible to make a virtual window around a target with a different center than the center of the target.
If, for example, I do ".threshold = [5 10]" i I set width and height, but the center will still be the same as the center of the target.


I wait for your feedback.

Thank you.

Best,
Rossella F
Re: Virtual window around an object
July 20, 2023 04:34PM
Use [X Y] as a target and display the graphic separately, like Example 3 in the following link.
https://monkeylogic.nimh.nih.gov/docs_RuntimeFunctions.html#SingleTarget

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.