how to convert the solid line into dashed line in the images during overlay of images

13 views (last 30 days)
when i overlay the images i get solid line marking on the image. i want to convert that solid line into dashed lines.. can someone pls help me with codes or instruction for converting the solid line into dashed line

Accepted Answer

David Sanchez
David Sanchez on 4 Jun 2014
h = plot(rand(10,1)); % this creates a handle to the figure
set(h,'LineStyle','--') % this convert the solid line into dash
  1 Comment
RAMESH MUNIRATHINAM
RAMESH MUNIRATHINAM on 4 Jun 2014
thank you for the help
rgb = imoverlay(Ihj, 12, [1 1 1]);
the above cmd gives me the solid line marking on the image.. i have to change the solid line into dashed line and dotted line in white and black colors respectively

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!