home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / GRAPHICS.DI$ / SET.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  1.3 KB  |  33 lines

  1. %SET    Set object properties.
  2. %    SET(H,'PropertyName',PropertyValue) sets the value of the
  3. %    specified property for the graphics object with handle H.
  4. %    H can be a vector of handles, in which case SET sets the
  5. %    properties values for all the objects.
  6. %
  7. %    SET(H,'PropertyName1',PropertyValue1,'PropertyName2',PropertyValue2,...)
  8. %    sets multiple property values with a single statement.
  9. %
  10. %    SET(H,'PropertyName') displays the possible values for the specified
  11. %    property of the object with handle H.
  12. %
  13. %    SET(H) displays all property names and their possible values for
  14. %    the object with handle H.
  15. %
  16. %    The default value for an object type can be set in an object's parent,
  17. %    grandparent, or great-grandparent by setting the PropertyName formed
  18. %    by concatenating the string 'Default', the object type, and the 
  19. %    property name.  For example, to set the default color of text objects
  20. %    to red in the current figure window:
  21. %
  22. %       set(gcf,'DefaultTextColor','red')
  23. %    
  24. %    Three strings have special meaning for PropertyValues:
  25. %      'default' - use default value (from parents)
  26. %      'factory' - use factory default value
  27. %      'remove'  - remove default value.
  28. %
  29. %    See also GET, RESET, DELETE, GCF, GCA, FIGURE, AXES.
  30.  
  31. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  32. %    Built-in function.
  33.