226 views

Uploaded by Baraa SmarTy

matlab help

- Java Programs Extract All - Per Unione
- html4
- mwResume
- Portfolio Ulfa Nanditya Putrinta
- test
- MathType-Shortcuts.pdf
- Keyboard Shortcuts for Microsoft Office 2007
- eportfolio peer review for jennifer cornelius
- Shortcut Keys2
- Ms Word Short Cut Keys
- 2e70cadd-d85a-4183-87e8-f09339f8b1a9.pdf
- Estructuras Químicas en Latex
- ITC Complete Fonts Catalogue
- Session 29- MS PPT
- my guide to activinspire
- LaTeX Color in Equation
- Contemporary Contexts Reportf
- Design Context Complete 02
- Desinging for the Screen
- bub_gb_Kp806ShRDh8C.pdf

You are on page 1of 5

http://www.mathworks.com/help/matlab/creating_plots/greek-letters-a...

You can add text to a graph that includes Greek letters and special characters using TeX markup. You also can use

TeX markup to add superscripts, subscripts, and modify the text type and color.

Create a simple line plot and add a title to the graph. Include the Greek letter

using the TeX markup \pi.

in the title by

x = linspace(0,2*pi);

y = sin(x);

plot(x,y)

title('x ranges from 0 to 2\pi')

Create a line plot and add a title and axis labels to the graph. Display a superscript in the title

using the ^ character. The ^ character modifies the character immediately following it. Include

multiple characters in the superscript by enclosing them in curly braces {}. Include the Greek

letters and in the text using the TeX markups \alpha and \mu, respectively.

1 of 5

10-May-16 2:19 PM

Greek Letters and Special Characters in Graph Text - MATLAB & Sim...

http://www.mathworks.com/help/matlab/creating_plots/greek-letters-a...

t = 1:900;

y = 0.25*exp(-0.005*t);

figure

plot(t,y)

title('Ae^{\alphat} for A = 0.25 and \alpha = -0.0005')

xlabel('Time \musec')

ylabel('Amplitude')

Add text at the data point where t = 300. Use the TeX markup \bullet to add a marker to the specified point and

use \leftarrow to include an arrow pointing to the left. By default, the specified data point is to the left of the text.

txt = '\bullet \leftarrow 0.25t e^{-0.005t} at t = 300';

text(t(300),y(300),txt)

2 of 5

10-May-16 2:19 PM

Greek Letters and Special Characters in Graph Text - MATLAB & Sim...

http://www.mathworks.com/help/matlab/creating_plots/greek-letters-a...

MATLAB supports a subset of TeX markup. Use TeX markup to add superscripts and subscripts, modify the text

type and color, and include special characters in the text string. MATLAB interprets text strings using TeX markup as

long as the Interpreter property of the text object is set to 'tex' (the default).

This table lists the supported modifiers with the Interpreter property set to 'tex'. Modifiers remain in effect until

the end of the text. Superscripts and subscripts are an exception because they only modify the next character or the

characters within the curly braces.

3 of 5

Modifier

Description

Example

^{ }

Superscript

'text^{superscript}'

_{ }

Subscript

'text_{subscript}'

\bf

Bold font

'\bf text'

\it

Italic font

'\it text'

\sl

font)

'\sl text'

\rm

Normal font

'\rm text'

\fontname{specifier}

name of a font family. You can use this

in combination with other modifiers.

'\fontname{Courier} text'

\fontsize{specifier}

numeric scalar value in point units to

change the font size.

'\fontsize{15} text'

\color{specifier}

these colors: red, green, yellow,

magenta, blue, black, white, gray,

darkGreen, orange, or lightBlue.

'\color{magenta} text'

\color[rgb]{specifier}

a three-element RGB triplet.

10-May-16 2:19 PM

Greek Letters and Special Characters in Graph Text - MATLAB & Sim...

http://www.mathworks.com/help/matlab/creating_plots/greek-letters-a...

This table lists the supported special characters with the Interpreter property set to 'tex'.

Character

Sequence

Symbol

Character

Sequence

Symbol

Character

Sequence

Symbol

\alpha

\upsilon

\sim

\angle

\phi

\leq

\ast

\chi

\infty

\beta

\psi

\clubsuit

\gamma

\omega

\diamondsuit

\delta

\Gamma

\heartsuit

\epsilon

\Delta

\spadesuit

\zeta

\Theta

\leftrightarrow

\eta

\Lambda

\leftarrow

\theta

\Xi

\Leftarrow

\vartheta

\Pi

\uparrow

\iota

\Sigma

\rightarrow

\kappa

\Upsilon

\Rightarrow

\lambda

\Phi

\downarrow

\mu

\Psi

\circ

\nu

\Omega

\pm

\xi

\forall

\geq

\pi

\exists

\propto

\rho

\ni

\partial

\sigma

\cong

\bullet

\varsigma

\approx

\div

\tau

\Re

\neq

\equiv

\oplus

\aleph

\Im

\cup

\wp

\otimes

\subseteq

\oslash

\cap

\in

\supseteq

\supset

\lceil

\subset

\int

\cdot

\o

\rfloor

\neg

\nabla

\lfloor

\times

\ldots

...

\perp

\surd

\prime

\wedge

\varpi

\0

\rceil

\rangle

\mid

\vee

\langle

\copyright

See Also

plot | text | title | xlabel | ylabel

More About

4 of 5

10-May-16 2:19 PM

Greek Letters and Special Characters in Graph Text - MATLAB & Sim...

5 of 5

http://www.mathworks.com/help/matlab/creating_plots/greek-letters-a...

10-May-16 2:19 PM

- Java Programs Extract All - Per UnioneUploaded byEdona Cala
- html4Uploaded bysdssdd
- mwResumeUploaded bymwhatley
- Portfolio Ulfa Nanditya PutrintaUploaded byUlfa Nanditya P
- testUploaded bymmoople
- MathType-Shortcuts.pdfUploaded byEdmond Dantes
- Keyboard Shortcuts for Microsoft Office 2007Uploaded byeanands
- eportfolio peer review for jennifer corneliusUploaded byapi-298255066
- Shortcut Keys2Uploaded byPeter Kong
- Ms Word Short Cut KeysUploaded byShinwari Sab
- 2e70cadd-d85a-4183-87e8-f09339f8b1a9.pdfUploaded bySitiNurAini
- Estructuras Químicas en LatexUploaded byMiguel Angel Mosquera Molina
- ITC Complete Fonts CatalogueUploaded byduesen
- Session 29- MS PPTUploaded byHaya Zaid
- my guide to activinspireUploaded byapi-271112297
- LaTeX Color in EquationUploaded byvn314
- Contemporary Contexts ReportfUploaded bysmithmccaulsky
- Design Context Complete 02Uploaded byMarty Aaron Edwards
- Desinging for the ScreenUploaded byVanlectter
- bub_gb_Kp806ShRDh8C.pdfUploaded byအသွ်င္ ေကသရ
- Maya America is Bharath India LanguageUploaded byKedar Jonnalagadda
- Marabhuvazhi May 2014Uploaded byarganesh
- jessica hanley 2019 resumeUploaded byapi-373821495
- e5fafb30b6-template.docxUploaded byAshley Bright
- vis comm syllabi-fallUploaded byapi-290985916
- Computer Terms WordsearchUploaded byMenen Ella
- razzi-graphicsUploaded byapi-277514065
- Template AasicUploaded bySatria Adi Putra
- Degree Project Process Book — Draft 6Uploaded byDustin Maberry
- OUGD303prepformUploaded bymoons17

- My CheetsheetUploaded byBaraa SmarTy
- Formula SheetUploaded byBaraa SmarTy
- خريطة الادريسيUploaded byBaraa SmarTy
- The Art of Being RightUploaded byBaraa SmarTy
- الموجز من علم مصطلح الحديثUploaded byBaraa SmarTy
- Javascript Code to Insert Page in PDFUploaded byBaraa SmarTy
- Schweppe - Electricity Spot PricingUploaded byb
- Schweppe - Electricity Spot PricingUploaded byb
- #Modern Energy MarketsUploaded byBaraa SmarTy
- وعاظ السلاطينUploaded byBaraa SmarTy
- جمعية أمان - النزاهة في مواجهة الفسادUploaded byBaraa SmarTy
- [Włodzimierz Greblicki; M Pawlak] Nonparametric System IdentificationUploaded byBaraa SmarTy

- Pledge ManualUploaded byAshokkumar Ramdoss
- Phoenician and greek scripts.pdfUploaded bybrenda9tovar
- Tt - 1st Semester 23.08Uploaded byPuneet Jaiswal
- TABLA DE NÚMEROS ROMANOS.pdfUploaded byAriel Perez
- alphabetmatchUploaded byapi-94838463
- Tsade and He Two Problems in the Early History of the Greek Alphabet Phoenician LettersUploaded bygrevs
- Latex Math SymbolsUploaded byAmit Sangwan
- Learn GreekUploaded byPanayioutis Vassiliadis
- Learn greek (2 of 7) - The greek alphabet, part IIUploaded byBot Psalmerna
- SymbolsUploaded byZain Oo
- greek_pronunciationUploaded bySarah Murray
- Bible SahidicaUploaded byaqua01
- U0370Uploaded byMartin Carlos Santiago Rodriguez
- SymbolsUploaded byAlberto Torres Barrán
- Greek Number SystemsUploaded bycostakisg
- Matlab Programme in ship dynamicsUploaded bypramod1989
- FSI Greek Basic CourseUploaded byMarcus Andrew Frost
- portergreek_chapter1Uploaded byafegao2
- MATLAB & Simulink - Greek Letters and Special Characters in Graph TextUploaded byBaraa SmarTy
- The ancient greek orthography.pdfUploaded byMarco Salinas
- Latex MathUploaded byAravinda Gowda
- A Greek Alphabet OracleUploaded bymilefolio
- Greek Alphabet (Ancient Greek).Uploaded byNivekaxel
- Equation Editor.pdfUploaded byontt
- List of LaTeX Mathematical Symbols - OeisWikiUploaded bymohan
- Greek WritingUploaded byShamell Hurd
- Cryptosystem Using Greek AlphabetsUploaded byijteee
- Website So Complete List 1020Uploaded byAhmed Omar Amine
- Latex SymbolsUploaded byPeter O'Hara
- Pronounce Greek Letters _ Jesus8880Uploaded byJames Driscoll