It can be about to see a line that is drawn over an image. The line is, lost in The background colors. That is according to your cursors are colored as they are, so that they are visible on any background. I demonstrate some code that top service line more visible with The same technique.
The function h = cursorLine (x, y, innerThickness, outerThickness) if nargin = = 2 innerThickness = 2;OuterThickness = 4;End h.t hick = line (x, y);H.t hin = line (x, y);Set (h.t hick, 'color', [1, 1]).Set (h.t hin, 'color', [0 0 0]).Set (h.t hick, 'our linewidth, outerThickness);Set (h.t hin, 'our linewidth, innerThickness);
comments
To comment, please clickhereLog in to your MathWorks account or create a new account.