Overlaying a power distribution plot over an image

1 Ansicht (letzte 30 Tage)
Usman Tahir Virk
Usman Tahir Virk am 13 Apr. 2017
Kommentiert: Usman Tahir Virk am 14 Apr. 2017
I am trying to overlay a power distribution plot over an image with axis labels similar to what is shown here, but not successful. I would greatly appreciate help. Thanks in advance.
img = imagesc('image.jpg');
imagesc([min_x max_x], [min_y max_y], img);
hold on;
mesh(angle,distance,power);

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 13 Apr. 2017
In your first line use imread rather than imagesc
  4 Kommentare
Walter Roberson
Walter Roberson am 14 Apr. 2017
I just realized you might be wanting the mesh plot to be the transparent part. If so then you should look at the various Alpha related properties at https://www.mathworks.com/help/matlab/ref/chartsurface-properties.html -- there are several.
Usman Tahir Virk
Usman Tahir Virk am 14 Apr. 2017
Thanks for the nice tips, Walter. You're awesome. Best regards.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by