p_figure is a wrapper around imshow to draw and keep the figure window position and size from resetting with each call.
Now move the figure to different screen or resize.
The new image is displayed in the same figure window without changing the position.
Bharath Lohray (2021). Persistent Figure (https://github.com/lordloh/persistent-figure), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!