Persistent Figure
Version 1.0.0.0 (1.67 KB) by
Bharath Lohray
A function to persistently draw a figure window at the same position on the screen.
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 .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Display Image >
Find more on Display Image in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 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.