Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# cardplot.m 1.0

Date Added: June 26, 2013  |  Visits: 227

Rev 2005-06-16Rev 2005-04-29.Rev 2003-08-12.To simplify the developement of card games (IMHO), you can instead use the card class provided by the Playing Cards Toolbox.condensed help:%%%%%%%%%% snip %%%%%%%% CARDPLOT Plot playing cards for card games. [H,X1,Y1] = CARDPLOT(X0,Y0,CSIZE,VALUE,SUIT) draws a card. CARDPLOT(H,X0,Y0,VALUE,SUIT) changes the card with handles in vector H. BORDER = CARDPLOT(X0,Y0,CSIZE) returns the border of a card at (X0,Y0). [VALUE,SUIT] = CARDPLOT(H) shows VALUE and SUIT for a card given by the handle vector H. CARDPLOT(VALUE,SUIT) changes the mouse pointer over the current figure (GCF) to look like a playing card of value VALUE and suit SUIT. Convenient for moving cards with the mouse (see demo). CARDPLOT(HFIG,VALUE,SUIT) same as above but for the specified figure handle HFIG. CARDPLOT(DIM,COLOR) creates a board with color COLOR with dimensions DIM on the current axes (GCA). CARDPLOT DEMO shows a demonstration on how to use this application. %%%%%%%%%% snip %%%%%%%%Don't forget to run "CARDPLOT DEMO" first to see how cardplot can be used!This function is created using Matlab 5.1.More stuff can be downloaded from:http://www.etek.chalmers.se/~e8rasmus/eng/...b_programs.html

 Requirements: No special requirements Platforms: Matlab Keyword: Application,  Board,  Cardplotdimcolor,  Cardplothfigvaluesuit,  Color,  Convenient,  Created,  Creates,  Current,  Demonstration,  Dimensions,  Figure,  Matlab,  Moving,  Pointer Users rating: 0/10