MATLAB Answers

How to add level on an image in matlab

14 views (last 30 days)
I have created a temperature map for a rive basin(added).I have raingauge station at certain lat lon.I want to display them on image with level.How can we do it?

  0 Comments

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 29 Sep 2017
What do you want the picture to look like at the rain gauge stations? Do you just want to plot, say, a red circle at the (x,y) coordinates of the stations? If so...
hold on;
plot(x, y, 'ro', 'MarkerSize', 15, 'LineWidth', 2);
If you want something fancier, like a small image, then you'll have to paste it over the image with indexing or masking.

  1 Comment

Walter Roberson
Walter Roberson on 29 Sep 2017
If you want to put information about the location on the plot, such as a station identifier, then you can text() the information into place.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!