Text graphic function - graphics objects, MATLAB in Engineering

Assignment Help:

Text graphic function - Graphics objects:

The text graphic function permits text to be printed in a Figure Window, involving special characters which are printed by using \specchar, where specchar is the real name of the special character. The format of the call to text function is as shown below:

text(x,y,'text string')

where x & y are coordinates on the graph of the starting of the text box in which the text string appears.

To see the options for special characters, under the Contents tab in Help, click the Handle Graphics Property Browser, then click Core Objects, and then select Text. The special characters are shown in a table under the String property. The special characters involve letters of the Greek alphabet, arrows, and characters often used in equations. For illustration, figure shows the Greek symbol for pi and a right arrow in the text box.

>> x = -4:0.2:4;

>> y = sin(x);

>> hp = line(x,y,'LineWidth',3);

>> thand = text(2,0,'Sin(\pi)\rightarrow')

25_Text graphic function - Graphics objects.png


Related Discussions:- Text graphic function - graphics objects

True color matrice - image processing, True color matrice: The true co...

True color matrice: The true color matrices are the other way to represent images. The true color matrices are 3-dimensional matrices. The first two coordinates are the coordi

Gauss elimination, Gauss Elimination: The Gauss elimination technique ...

Gauss Elimination: The Gauss elimination technique consists of:    Generating the augmented matrix [A b]    Applying EROs to augmented matrix to obtain an upper trian

Cross product of matrix, Cross Product: The cross or outer product a ×...

Cross Product: The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they b

Calling of function polyval, Calling of Function polyval: The curve do...

Calling of Function polyval: The curve does not appear very smooth on this plot, but that is as there are only five points in the x vector. To estimate the temperature

Reduced row echelon form, Reduced Row Echelon Form: The Gauss Jordan t...

Reduced Row Echelon Form: The Gauss Jordan technique results in a diagonal form; for illustration, for a 3 × 3 system: The Reduced Row Echelon Forms take this one step

Streamslice, I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a ...

I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a streamslice graph on matlab with this two files.

Intersect function and setdiff function, Intersect function and setdiff fun...

Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Is functions for strings, IS Functions for Strings: There are many fun...

IS Functions for Strings: There are many functions for strings, that return logical true or false. The function isletter returns the logical true when the character is a lette

Video shot boundary detection, I dont know how to input different videos o...

I dont know how to input different videos on matlab program

Finding sums by for loop, Finding sums and products: A very general ap...

Finding sums and products: A very general application of a for loop is to compute sums and products. For illustration, rather than of just printing the integers 1 through 5, w

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