Filter löschen
Filter löschen

overlay plot on imgage

70 Ansichten (letzte 30 Tage)
Don
Don am 2 Okt. 2017
Kommentiert: Cedric am 7 Okt. 2017
I have images of artwork and plots of data from an eye tracker. I want to overlay the data plots on the images. A complication: artwork images come in different sizes. I think the subplot function will do some of this be I don't know how. Any help is greatly appreciated

Akzeptierte Antwort

Cedric
Cedric am 2 Okt. 2017
Bearbeitet: Cedric am 2 Okt. 2017
hold on
for overlays, for example:
imshow( myImage ) ;
hold on ;
plot( x, y, 'rx' ) ;
and you will see the plot over the image. You can have more control by creating axes by yourself, but it is more complicated. For this, if you really have the time to learn, look at my answer here.
  13 Kommentare
Don
Don am 7 Okt. 2017
YAY! I think I got it -- imgLocator = fullfile(filepath, filename) ;, xPoints = xaxis; yPoints = yaxis;
This seems to work! You are a genius. Thank you Thank you Thank you
Cedric
Cedric am 7 Okt. 2017
My pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by