I have an annonation on my image in matlab but I'm trying to have it with green text, a black outline and a purple background. I want my text font to be italic and in the Comic Sans format. Anyone know how to incorporate these characteristics in my code:
davis = imread('DavisHall.jpg');figure(1), imagesc(davis), axis imagehelpdlg(sprintf('Pick four corners of a window in this picture.\nPick top right corner first.\nPick bottom right corner second.\nPick bottom left corner third.\nPick top left corner fourth.'))PickCorners = ginput(4)x = [PickCorners(:,1)];y = [PickCorners(:,2)];h = gca;hold(h, 'on');plot(h, x', y');plot(h, [x;x(1)]', [y;y(1)]');dim = [.2 .5 .3 .3];str = 'Window'annotation('textbox',dim,'String',str,'FitBoxToText','on');
Best Answer