Persistent Figure

A function to persistently draw a figure window at the same position on the screen.

https://github.com/lordloh/persistent-figure

You are now following this Submission

p_figure is a wrapper around imshow to draw and keep the figure window position and size from resetting with each call.
See https://github.com/lordloh/persistent-figure/blob/master/README.md
# Usage:
```
fig1=p_figure(im)
```
Now move the figure to different screen or resize.
```
fig1=p_figure(im2,'fig_h',fig1)
```
The new image is displayed in the same figure window without changing the position.

Cite As

Bharath Lohray (2026). Persistent Figure (https://github.com/lordloh/persistent-figure), GitHub. Retrieved .

Categories

Find more on Display Image in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0.0

Added a screenshot.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.