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 (2022). Persistent Figure (https://github.com/lordloh/persistent-figure), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!