不好意思,因我急交东西给老师那边,但是就是不会怎么把line对象用copyobj到另一个图片中。所以再次一问。虽然我知道findobj得到line对象,但是不我知道把那些程序放在我画图板程序的哪个位置,所以再一次提问。下面是在罗老师的帮助下写一个画图板程序。
function varargout = hua(varargin)
% HUA M-file for hua.fig
% HUA, by itself, creates a new HUA or raises the existing
% singleton*.
%
% H = HUA returns the handle to a new HUA or the handle to
% the existing singleton*.
%
% HUA('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in HUA.M with the given input arguments.
%
% HUA('Property','Value',...) creates a new HUA or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before hua_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to hua_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help hua
% Last Modified by GUIDE v2.5 26-Aug-2010 12:59:03
% Begin initialization code - DO NOT EDIT
gui_Singleton