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
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 Vectorizing: Likewise, for an operation on a matrix, a nested loop would be needed; for illustration, supposing a matrix variable mat: [r c] = size(mat); for

Run-time or execution-time error: The Run-time, or execution-time, errors are found whenever a script or function is executing. With most of the languages, an illustration of

fscanf function - file function: The fscanf reads matrix variable mat columnwise from the file specified by fid. The 'format' involves conversion characters much similar to th

Reading from Files: There are many lower level functions which read from files. The function fscanf reads the formatted data into a matrix, by using conversion formats like %s

Illustration of Customizing plots: Illustration, the bar and barh functions by the default place a width of 0.8 between bars. Whenever called as bar(x,y), the width of 0.8 is

Graphics objects: The objects involve graphics primitives like lines and text, and also the axes used to orient the objects. These objects are organized hierarchically, and the

Example of Functions which complete a task: For illustration, the function below just prints the number arguments passed to it in a sentence format: As this function i

Vectorizing: In most of the cases in MATLAB, loops are not essential. As MATLAB is written specifically to work with the vectors and matrices, most operations can be completed

Core Objects: The Core Objects in MATLAB are the very fundamental graphics primitives. The description can be found under the MATLAB Help: Under the Contents tab, click the Ha