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

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

 Akzeptierte Antwort

h = plot(rand(10,1)); % this creates a handle to the figure
set(h,'LineStyle','--') % this convert the solid line into dash

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modify Image Colors finden Sie in Hilfe-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