diff --git a/+PlotID/TagPlot.m b/+PlotID/TagPlot.m index b925379f4a5a8a23f5b37d802d0edc61eda0bf4f..5bc203aefea3d323f31c941968602926e08b54d1 100644 --- a/+PlotID/TagPlot.m +++ b/+PlotID/TagPlot.m @@ -16,7 +16,8 @@ arguments options.ProjectID (1,:) {mustBeText}= '' options.Fontsize (1,1) {mustBeInteger} = 8 options.Color (1,3) {mustBeNonnegative} = 0.65*[1 1 1] % grey - options.Location (1,:) {mustBeText} = 'east' + options.Location (1,:) {mustBeMember(options.Location,{'north','east',... + 'southeast','south','west','custom'})} = 'east' options.DistanceToAxis {mustBeReal} = .01 % relative distance options.Position (1,2) {mustBeVector} = [1,0.4] % default for east options.Rotation (1,1) {mustBeReal} = NaN