GUI-drawing-board

所属分类:matlab编程
开发工具:matlab
文件大小:20KB
下载次数:320
上传日期:2010-11-10 21:51:39
上 传 者yangdianbing
说明:  Matlab鼠标画图,用pop-up menu选择画图标记,颜色edit记录鼠标坐标 但是功能比较简单,只能画线,不能画矩形、椭圆等 其中一个难点就是:拖动鼠标的过程中如何显示矩形/椭圆的轮廓,并且轮廓跟着鼠标指针移动。 程序的亮点: 1、可选择点、线、矩形、椭圆进行画图; 2、可选择marker、LineTyple进行画图; 3、可选择画图颜色; 4、可实时显示鼠标指针当前坐标; 5、可清除画板; 6、可保存画好的图(bmp、jpg、gif); 7、操作比较人性化,模仿了windows画板; 8、该程序牵涉的面广,是一个很好的GUI学习资料。
(Matlab mouse drawing, with the pop-up menu select the drawing marks, color edit record mouse coordinates, but relatively simple function, can only draw a line, not drawing rectangles, ellipses, etc. One of the difficulties is this: how the process of dragging the rectangle/oval contours, and outline follow the mouse pointer moves. Program Highlights: 1, select point, line, rectangle, ellipse for drawing 2, optional marker, LineTyple the drawing 3, choose paint colors 4, real-time display the current coordinates of the mouse pointer 5, to clear the drawing board 6, save-drawn map (bmp, jpg, gif) 7, operation more user-friendly, imitating the windows drawing board 8, the program involved a wide range, the GUI is a good learning materials.)

文件列表:
net1.m (15160, 2009-08-03)
net1.fig (5897, 2009-08-03)
net1.p (22287, 2009-08-03)

近期下载者

相关文件


收藏者