Location of a rectangle - graphics objects, MATLAB in Statistics

Location of a rectangle - graphics objects:

The location of a rectangle is [x y w h], where x and y are the coordinates of the lower left point, here w is the width, and h is the height. The default rectangle has a location of [0 0 1 1]. The default Curvature is [0 0], that means no curvature. The values range from [0 0] (i.e., no curvature) to [1 1] (i.e., ellipse). A more interesting rectangle object is shown in figure. Note that properties can be set whenever calling the rectangle function, and also consequently by using the set function.

1631_Location of a rectangle.png

>> rh = rectangle('Position', [0.2, 0.2, 0.5, 0.

    'Curvature',[0.5, 0.5]);

>> axis([0 1.2 0 1.2])

>> set(rh,'Linewidth',3,'LineStyle',':')

Posted Date: 10/22/2012 8:23:50 AM | Location : United States







Related Discussions:- Location of a rectangle - graphics objects, Assignment Help, Ask Question on Location of a rectangle - graphics objects, Get Answer, Expert's Help, Location of a rectangle - graphics objects Discussions

Write discussion on Location of a rectangle - graphics objects
Your posts are moderated
Related Questions
Generic code for Reading from Files: The generic code to complete this is as shown below:   fid = fopen('filename'); if fid == -1    disp('File open not suc

Functions which complete a task without returning Values: Most of the functions do not compute values, but instead of accomplish a task like printing formatted output. As thes

Vectors of nested structures: The Combining vectors and nested structures are possible to have a vector of structures in which several fields are structures themselves. Here i

Illustration of Input in a for loop: In this illustration, the loop variable iv iterates through the values 1 through 3, therefore the action is repeated three times. The acti

Illustration of Mode When there is more than one value with similar (highest) frequency, then the smaller value is mode. In the case below, as 3 and 8 appear twice in the vecto

Help function: Function is computing the two values, there are two output arguments in the function header (i.e., area & circum), that are placed in the square brackets [ ]. A

Illustrations of Sequential search: The two illustrations of calling such function is as shown below: >> values = [85 70 100 95 80 91]; >> key = 95; >> seqsearch

Example of customizing plots: As the other illustration of customizing plots, the pieces of a pie chart can be "exploded" from the rest. In this situation, the two vectors are

The IF Statement: The if statement selects whether or not the other statement, or group of statements, is executed. The common form of the if statement is as shown below: i

Example of sorting strings: To sort a cell array of strings, also the sort function is used. The illustration is as follows, >> engcellnames = {'Chemical','Mechanical',.