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 (2022). 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 >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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.