ContentsIndexReferenceHome
PreviousUpNext
MarkFig
MATLAB
h = MarkFig([ax],MarkText,[Name1],[Value1], ...,[NameN],[ValueN])
Description

MARKFIG Add text markings to figures 

Add text markings to a figure. The default uses red with a 14 pt font size. The function can return the object handle to the text box for use in changing font size/color, etc.

Parameters
Parameters 
Description 
ax [scalar] 
(Optional) Figure or axis handle to which to add text. Defaults to the Matlab current figure (gcf) 
MarkText [string] 
Text to add to figure 
NameN [string] 
Property name for input to Matlab function text. Can specify things like 'Color' or 'FontSize' 
ValueN [varied] 
Value associated with NameN for input to Matlab function text 
Return Values
Return Values 
Description 
h [scalar] 
Handle to the text object 
Examples

>> MarkFig('FOUO') 

  • Mark the current figure as FOUO with the default color and font size
>> MarkFig('My label','Color','b','FontSize',10) 

  • Mark the current figure specifying the color and font size.
 

Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!