§Ṳ́]¥i¥H¨Ï¥Î«ü¥O¦Cªº¤è¦¡¨Ó§ïÅܤ@ӹϧΪº¦UºØ©Ê½è¡A³Ì±`¥Î¨ìªº¬O set »P get «ü¥O¡A¨ä¤¤ set «ü¥O¥i¥Î¨Ó³]©w¬Yөʽ誺ȡA¦Ó get «ü¥O«h¥Î¨Ó©ó¨ú±o¬Yөʽ誺ȡC¡]¨Æ¹ê¤W©Ò¦³¥HGUI¤¶±¨Ó¶i¦æ¹Ï§Îק諸¤u¨ã¡A¤]³£¬O¨Ï¥Î³o¨âÓ«ü¥O¨Ó§¹¦¨¡C¡^
¦b¤U¦C½d¨Ò¤¤¡A§ÚÌ¥ý²£¥Í¤@±ø¦±½u¡A¦A¨Ï¥Î set «ü¥O¨Óק惡¦±½uªº¦UºØ©Ê½è¡A¦p¤U¡G
§Ṳ́]¥i¥H±N¤Wz¤TÓ set «ü¥O¦X¦¨¤@Ó«ü¥O¡G
set(h, 'LineWidth', 3, 'Marker', 'o', 'MarkerSize', 20);
¤]¥i¥H³æ¿W¨Ï¥Î set(h) ¨Ó¦C¥X h ©Ò¦³¥i¯àªº©Ê½è¡A¨Ò¦p¡G
Y±ý¨ú±o¬Y¤@өʽ誺ȡA¥i¥Î get «ü¥O¡A¨Ò¦p¡A±ý¨ú±o h ªºÃC¦â¡A¥i¿é¤J¦p¤U¡G
get(h, 'Color')
Yn±oª¾ h ªº©Ò¦³©Ê½èªºÈ¡A¥i¥Î get(h)¡A¨Ò¦p¡G
¤Wz get ©M set ¥i¥H³q¥Î©ó MATLAB ¦UºØª©¥»¡A¦ý¬O¦^¶Çªºµ²ªG¨Ã¤£·|§¹¥þ¤@¼Ë¡A¦]¬°ÀHµÛ MATLAB ª©¥»ªº§ó·s¡A¨C¤@ӹϧΪ«¥óªº©Ê½è³£·|¶V¨Ó¶V¦h¡C¡]¦]¦¹¦b¤Wz½d¨Ò¤¤¡A§Ú̯S§O¦L¥X°õ¦æ¦¹µ{¦¡©Ò¥Îªº MATLAB ª©¥»¡C¡^
¤@¯ë¦Ó¨¥¡A¨C¤@ӹϧΪ«¥óªº©Ê½è³£¦³¼Æ¤QºØ¤§¦h¡A¦ý¯u¥¿±`¥Î¨ìªº©Ê½è¤j·§¤£¨ì¤QºØ¡C
¥t¤@Ó±`¥Î¨ìªº«ü¥O¬O findobj¡A¬°¡ufind objects¡vªºÂ²ºÙ¡A¦¹«ü¥O¥i¦b´¤§â¦¡¹Ï§Îªº¶¥¼h¦¡µ²ºc¤¤¡A§ä¥X±znªºª«¥ó¡C¨Ò¦p¡A±ý§ä¤@ӹϧεøµ¡¤ºªº©Ò¦³¦±½uª«¥ó¡A¥i¥é³y¤U¦C½d¨Ò¡G
¦b¤W¨Ò¤¤²Ä¤GÓ±Ôz¤¤¡A¡u0¡v¥Nªí MATLAB ®à±¡A¦]¦¹¤W¨Òªº¤G¡B¤T¦C±Ôzªº·N¸q¬°¡u§ä¥X©Ò¦³«¬ºA¬° line ªºª«¥ó¡A¨Ã±N¨ä¦±½u¼e«×§ï¬° 3¡v¡A¶Ç¦^ªº¦V¶q h ªø«×¬° 2¡A¥Nªí¦@§ä¨ì¨âÓ«¬ºA¬° line ªºª«¥ó¡C
MATLABµ{¦¡³]p¡G¤Jªù½g