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

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.

Posted Date: 10/22/2012 8:19:32 AM | Location : United States







Related Discussions:- Properties of the text box - graphics objects, Assignment Help, Ask Question on Properties of the text box - graphics objects, Get Answer, Expert's Help, Properties of the text box - graphics objects Discussions

Write discussion on Properties of the text box - graphics objects
Your posts are moderated
Related Questions
Curve Fitting: The data is fundamentally either discrete or continuous. In most of the applications, data is sampled, for illustration, The temperature recorded every ho

Need of a nested loop: How would we sum each individual column, rather than getting an overall sum? Answer: The programming technique would need a nested loop in whi

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

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

Variable packages: Variable packages are now the vector of structures, hence each and every element in the vector is a structure. To show one element in the vector, an index i

Tracing: Sometimes, when a program has loops and/or selection statements and is not running properly, it is helpful in the debugging process to know exactly which statements h

Statistics There are numerous statistical analyses which can be executed on data sets. In MATLAB software, the statistical functions are in the data analysis help topic known 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

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

#qYou will need to examine two of the nine sections of data: one section of qualitative data (choose either Gender or Position) one section of quantitative data (choose either Intr