cwaitbar.m
- Downloads:
- Views:
- Rating:

An extension/generalization of the MATLAB's WAITBAR function. Used when you want to show progress in "nested computations". Supports different coloring of bars other than the default red color. See example below on usage.
%%%%%
CWAITBAR Display compound wait bar.
H = CWAITBAR(X,TITLE) creates and displays wait bars of
fractional lengths X and with one title string TITLE.
The handle to the compound waitbar figure is returned in H.
X values should be between 0 and 1.
Each subsequent call to cwaitbar, CWAITBAR([BAR X]),
extends the length of the bar BAR to the new position X.
The first bar is the topmost bar and is BAR = 1 which
corresponds to the outermost loop.
H = CWAITBAR(X,TITLE) where TITLE is a cellstring with same
number of titles as there are fractional lengths in X.
Suitable for showing the bars' corresponding loop indices.
H = CWAITBAR(X,TITLE,COLOR) where COLOR is the color of the
bars. COLOR is either a color code character (see PLOT) or
an RGB vector. The default color is red. COLOR can also be
a cell array with same number of elements as there are bars
in the cwaitbar figure.
The order of the elements in vector X and cell arrays TITLE
and COLOR which is consistent with the bar number BAR is:
The first element corresponds to the first bar at the top
of the figure which in turn corresponds to the outermost loop.
CWAITBAR is typically used inside nested FOR loops that
performs lengthy computations.
Examples:
cwaitbar([.3 .2 .7],'Please wait...'); %single title
h = cwaitbar([0 0 0],{'i','j','k'},{[.8 .2 .8],'b','r'});
for i=1:5,
% computations %
for j=1:10
% computations %
for k=1:100
% computations %
cwaitbar([3 k/100])
end
cwaitbar([2 j/10])
end
cwaitbar([1 i/5])
end
close(h)
See also WAITBAR.
Free download from Shareware Connection - An extension/generalization of the MATLAB's WAITBAR function.
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 23-04-2013 | Rating: 0 | Title: cwaitbar.m
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/4121/1/cwaitbar.m
Spacecraft Engineering Toolbox - This toolbox contains a satellite tracker MSatTrack.
blackjack.m - "Blackjack 5.1" is a BlackJack card game for MATLAB
cardplot.m - To simplify the developement of card games (IMHO), you can instead use the card class provided by the Playing Cards Toolbox
snailrace.m - Bet on a snail that you fancy, then press a key to watch the race and see which snail that won the race
TeX-tools - With this toolbox you can import xfig figures, you can modify them or make new pictures in MATLAB using the included matlab-paint program
Gaming Ladder and Tournament Scripts
Crorepati Game
Widget Basketball Team
Widget Cheerleader
Widget Football Team
Widget Hockey Team
Widget Soccer Team
Online Interactive 90 ball Bingo
Sportsbook Software
PardioWars - The Ultimate RPG Script!
CCleague Pro
NetBingo
DreamJokes
Hangman Script
Affiliate Programs
Animation
Auctions
Audio Systems
Banner Rotation
Blog
Bulletin Boards & Forums
Business & Enterprise
Buttons
Calendars & Events
Charts & Graphs
Chat
Classified Ad Managers
Communication
Rm To M Convert
Ts To M Convert
Vinyl M Convert
Amr M Converter
Dvd M Converter
Cell2Vec - CELL2VEC - Concatenate cell elements to a vector The elements of arrays, which are elements of the input cell, are concatenated to a vector. V = Cell2Vec(C) INPUT: C: Cell array of any size.
Perl arrays tutorial - Learn through examples how to use and manipulate the arrays in a Perl script.
uvcurv2orth - rotate curvilinear vector field to orthogonal vector field the output is calculated for the original curvilinear locations
SReshape 1D to 2D with Balance - If possible then reshapes 1D array (vector) 'A' into 2D array 'B' such that
Modal - Calculates the statistical mode (the most frequently occurring element) in a vector (or matrix)
Shareware Connection periodically updates pricing and software information of 'cwaitbar.m' from company source 'Rasmus Anthin' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'cwaitbar.m' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of cwaitbar.m.
PictBear - Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime ...
TuckAway Intelligent Email Organizer Pro - Using an email software allow you to do a number of things including managing your address lists, emails and even ending memos, documents and even virtual letters. You can also use it to manage your tasks easily. The email software comes in ...
Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...
Nuance 4 Dragon Dictate Mac - While Mac users resort to using third party apps for image editing or video editing needs, they are not bothered much about voice dictation software. This has also got to do with the fact that latest versions of OS X including Mountain Lion ...
Auslogics BitReplica - With storage capacity and options going up with time, PC users have got numerous options to back up their important data, whether you need to store your music, movie collection or other types of data safely, using the PC’s HDD may not be ...
Avid Media Composer - When it comes to professional level video editing, there are plenty of tools available for computer users nowadays. While a lot of studio professionals swear by apps like Adobe’s powerhouse software Premiere Pro and Mac users stick to Final ...
Dragon NaturallySpeaking Standard - No matter what type of computer you use, it becomes necessary to use keyboard for typing. This is the case with average home users as well as network administrators working in professional setups. Would not it be nice if you could give your hands ...
CyberFence - Technological innovations play a pivotal role in changing human lives but they also come with their pitfalls. Perhaps, nothing can be a bigger example of this than the web. You need the internet for education, work, monetary transactions and ...
DVDFab DVD Copy - While a lot of computer users are switching from optical media to external and cloud storage services, a section of them still counts on DVD for storage and movie watching. At times it also becomes necessary to copy those DVDs that are getting ...
Corel Painter Lite - Corel’s graphics and illustration tools have been perennial favorites with millions of graphic designers and layout artists worldwide. While CorelDraw graphic suite is the company’s most popular app, Painter has also succeeded in ...