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
Illustration of Indexing into vectors of structures: For illustration, the function to print the information from packages has been modified therefore in addition to the vecto

Example of Median For the vector [1 4 5 9 12 33], the median is the average of the 5 & 9 in the middle: >> median([1 4 5 9 12 33]) ans =     7

Persistent Variables: Generally, whenever a function stops executing, then the local variables from that function are cleared. That means that each and every time a function i

Example of Nested functions: For illustration, the function below computes and returns the volume of a cube. Three arguments are then passed to it, for the width and length of

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

Properties of the text box - graphics objects: By using get will show properties of the text box, the illustration is as shown below: >> get(thand)   BackgroundColor

Data structure layers: There are many layers in this variable. For illustration,  cyls is the whole data structure, that is a vector of structs  cyls(1) is a separate

Lower Level File I/O Functions: Whenever reading from data file, as long as the data in the file is "regular" the load function works-in another words, the similar type of dat

Illustration of Median When the vector is not in sorted order to start with, the median function will still return the right answer (it will sort the vector automatically). For

Illustration of tracing a error: The one way of following the flow of function, or tracing it, is to use the echo function. The echo function, that is a toggle, will show each