i have some pixel points lets say p1(1,1) and p2(1,10).......and so on
i want to display these points on image in any color. how to do this?
You can just use plot:
plot(p1(1), p1(2), 'ko'); % Small circle point in black. plot(p1(1), p1(2), 'r.'); % Small dot in red.