|
|
| File Information |
| Description |
Progress bar becomes very essential in case of the functions which consume very long time for computations. This package consists of a Matlab figure along with its corresponding m file. Inside the m file you can see how the patch object can be used along with an existing axes to create a progress bar. There are 3 important things for creating the progress bar with existing axes.
1. to set the buttondown function of the axes to be used , current figure and the patch. (changecolor function is the buttondown function here)
2. change Facecolor of patch. (changecolor function)
3. update the xData of the patch and use drawnow command to reflect the color change on the axes being used.
when you hit the start button the axes and the corresponding text become visible and according to a for loop written inside the start button callback function the progress bar is updated. |
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 22 Feb 2010 |
Rashed
|
|
|
|
Contact us at files@mathworks.com