Properties of the text box - graphics objects, MATLAB in Statistics

Assignment Help:

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 = none

  Color = [0 0 0]

  EdgeColor = none

  EraseMode = normal

  Editing = off

  Extent = [1.95862 -0.0670554 0.901149

   0.110787]

  FontAngle = normal

  FontName = Helvetica

  FontSize = [10]

FontUnits = points

  FontWeight = normal

  HorizontalAlignment = left

  LineStyle = -

  LineWidth = [0.5]

  Margin = [2]

  Position = [2 0 0]

  Rotation = [0]

  String = Sin(\pi)\rightarrow

  Units = data

  Interpreter = tex

  VerticalAlignment = middle

   etc.

1574_Properties of the text box.png

However the Position specified was (2,0), the Extent is the real extent of the text box, that cannot be seen asthe BackgroundColor and EdgeColor are not identified. These can be changed by using set. For illustration, the following produces the outcome as shown in figure:

>> set(thand,'BackgroundColor',[0.8 0.8 0.8],. . .

  'EdgeColor',[1 0 0])

Whenever the Units property has the value of data, that is the default as shown, the Extent of the text box is given by a vector [x y width height] where x and y are the coordinates of the bottom left-hand corner of the text box.


Related Discussions:- Properties of the text box - graphics objects

Assignment , Determine sequence weights for the sequences ACTA, ACTT, CGTT,...

Determine sequence weights for the sequences ACTA, ACTT, CGTT, and AGAT in problem 1 by using Thompson, Higgins, and Gibson method a) compute pairwise distances between sequences

Data structure layers, Data structure layers: There are many layers in...

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

Menu function, MENU Function: The MATLAB also has a built-in function ...

MENU Function: The MATLAB also has a built-in function known as menu which will display a figure Window with push buttons for the choices. The very first string passed to the

Indexing, Indexing: The Indexing is an alternate to sort a vector. Wit...

Indexing: The Indexing is an alternate to sort a vector. With indexing, the vector is left in its original order. An index vector is used to point values in the original vecto

Persistent variables, Persistent Variables: Generally, whenever a func...

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

Types of errors, Types of errors: There are some various kinds of erro...

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

Example of functions which return values, Example of Functions which return...

Example of Functions which return values: Calling this function prints the circumference, since there is no way to store the value, hence, it can be used in following computat

Combining nested for loops and the if statements, Combining Nested FOR Loop...

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

Create a custom chi-square function in matlab, Introduction and Purpose ...

Introduction and Purpose In the lectures and tutorials you have been introduced to a number of probability distributions. You have also learned that modelling any system (such

Nested structures, Nested Structures: The nested structure is a struct...

Nested Structures: The nested structure is a structure in which at least one of the members is itself a structure. For illustration, a structure for the line segment may co

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd