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
Combining Nested FOR Loops and the IF Statements: The statements inside a nested loop can be any of the valid statement, involving any selection statement. For e.g., there can

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

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

Opening and Closing a File: The Files are opened with the fopen function. By the default, fopen function opens a file for reading. If the other mode is preferred, a permission

fopen function - file function: The fopen opens the file for reading. The fscanf then reads each line one double and one character, and put each pair in individual columns in

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

Types of errors: There are some various kinds of errors which can occur in a program, that fall into the categories of run-time errors, syntax errors, and logical errors. T

Illustration of Indexing: Though, rather than of creating the index vector manually as shown here, the process to initialize the index vector is use to a sort function. The al

Example of Mode When no value appears more often than any other, the smallest value in the vector will be the mode of the vector. >> shortx = [2 5 1 4]; >> mode(shortx

Nested Functions: We have seen that the loops can be nested, that means that one inside of the other, functions can be nested. The terminology for nested functions is that an