Display Image to a specific Monitor

5 Ansichten (letzte 30 Tage)
DB
DB am 2 Okt. 2024
Kommentiert: DGM am 2 Okt. 2024
Hello,
Here's my screen set up:
If I want to show an image(using imtool or imageViewer) to a specific Display monitor (3 for example), what parameter to use? Can we do that?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Okt. 2024
get(0,'MonitorPositions')
will return a list of [StartX, StartY, Width, Height] coordinates.
You would access the StartX and StartY of the third result and use those as the base coordinates for your Position property of placing your figure.
  1 Kommentar
DGM
DGM am 2 Okt. 2024
I must be the only person left on earth running zaphod mode displays. I'm not even sure how or if it could be done in that case.
get(0,'MonitorPositions')
ans =
1 1 1920 1080
1 57 1280 1024
1 57 1280 1024
Each monitor is an independent screen address, so they all start nominally at the same origin.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by