Watermark:

Path: Common/General

% Add a watermark to a figure. 
 This function creates two axes, one for the image and one for the text. 
 Calling it BEFORE plotting can cause unexpected results. It will reset 
 the current axes after adding the watermark. The default position is
 the lower left corner, (2,2).

 Leaving out the color input will cause the logo to use the color of the
 figure for the background. You can set a default color to a persistent
 variable using the second form; clear the function to reset it.
--------------------------------------------------------------------------
   Form:
   Watermark( string, fig, pos, color  )
   Watermark( color ), set a temporary background color
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   string     (1,:) Name, i.e. product name
   fig        (1,1) Figure hangle
   pos        (1,2) Coordinates, (left, bottom)
   color      (3,1) Background color, [R G B]

   -------
   Outputs
   -------
   none

--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: Graphics/NewFig

Back to the Common Module page