출처 : http://wikieducator.org/Help:LaTeX_Symbol_Tables_-_Mathematics
matlab으로 그래프 그리다가. 파이, 쎄타, 더하기, 크기 나타내는 부호, 이런거 어떻게 나타내는거야?
하나하나 그래프 그린다음에 텍스트 박스 넣어서 써줘야 하는거야...
혼자 고민하다가 plot 함수로부터 들어들어 가다가, 결국에는 위키에 있는 거 발견.
앞으로 얼마나 많은 그래프를 그리게 될지 모르겠지만..
나도.. 매트랩 자유자재로 쓰고 싶다고!!!
=============== 이런거 그리고 싶었다 ==============
Calculating the Positions of Text Annotations
You can also calculate the positions of text annotations in a graph. The following code adds annotations at three data points on a graph.
t=0:pi/64:2*pi;
plot(t,sin(t));
%% 그래프에 제목 붙이기
title('The Sine of 0 to 2\pi')
%% 그래프에 x label 파이pi , 이렇게 쓰는고만.
xlabel('t = 0 to 2\pi')
%% 그래프에 y축 라벨 붙이기
ylabel('sin(t)')
%%그리고 그래프에 글 쓰기
%% text(x축, y축값, '화살표 설정 -> 왼쪽화살표 가르킴, 폰트사이즈 설정
text(3*pi/4,sin(3*pi/4),...
'\leftarrowsin(t) = .707',...
'FontSize',16)
text(pi,sin(pi),'\leftarrowsin(t) = 0',...
'FontSize',16)
text(5*pi/4,sin(5*pi/4),'sin(t) = -.707\rightarrow',...
%%오른쪽 정렬 명령
'HorizontalAlignment','right',...
'FontSize',16)
The HorizontalAlignment of the text string 'sin(t) = -.707 \rightarrow'- is set to right to place it on the left side of the point [5*pi/4,sin(5*pi/4)] on the graph. For more information about aligning text annotations, see Text Alignment.
%%그럼 위키에 잘 정리된 그리스, 기타 수학 기호들 펌....
출처 : http://wikieducator.org/Help:LaTeX_Symbol_Tables_-_Mathematics
Greek Symbols
Name | LaTeX Code | Lowcase | LaTeX Code | Capital | LaTeX Code | Bold Lowcase | LaTeX Code | Bold Capital |
---|---|---|---|---|---|---|---|---|
ALPHA | \alpha | \Alpha | \boldsymbol{\alpha} | \boldsymbol{\Alpha} | ||||
BETA | \beta | \Beta | \boldsymbol{\beta} | \boldsymbol{\Beta} | ||||
GAMMA | \gamma | \Gamma | \boldsymbol{\gamma} | \boldsymbol{\Gamma} | ||||
DIGAMMA | \digamma | \boldsymbol{\digamma} | ||||||
DELTA | \delta | \Delta | \boldsymbol{\delta} | \boldsymbol{\Delta} | ||||
EPSILON | \epsilon | \Epsilon | \boldsymbol{\epsilon} | \boldsymbol{\Epsilon} | ||||
VAREPSILON | \varepsilon | \boldsymbol{\varepsilon} | ||||||
ZETA | \zeta | Z | \boldsymbol{\zeta} | \boldsymbol{Z} | ||||
ETA | \eta | \Eta | \boldsymbol{\eta} | \boldsymbol{\Eta} | ||||
THETA | \theta | \Theta | \boldsymbol{\theta} | \boldsymbol{\Theta} | ||||
VARTHETA | \vartheta | \boldsymbol{\vartheta} | ||||||
IOTA | \iota | \Iota | \boldsymbol{\iota} | \boldsymbol{\Iota} | ||||
KAPPA | \kappa | \Kappa | \boldsymbol{\kappa} | \boldsymbol{\Kappa} | ||||
VARKAPPA | \varkappa | \boldsymbol{\varkappa} | ||||||
LAMBDA | \lambda | \Lambda | \boldsymbol{\lambda} | \boldsymbol{\Lambda} | ||||
MU | \mu | \Mu | \boldsymbol{\mu} | \boldsymbol{\Mu} | ||||
NU | \nu | \Nu | \boldsymbol{\nu} | \boldsymbol{\Nu} | ||||
XI | \xi | \Xi | \boldsymbol{\xi} | \boldsymbol{\Xi} | ||||
OMICRON | o | O | \boldsymbol{o} | \boldsymbol{O} | ||||
PI | \pi | \Pi | \boldsymbol{\pi} | \boldsymbol{\Pi} | ||||
VARPI | \varpi | \boldsymbol{\varpi} | ||||||
RHO | \rho | \Rho | \boldsymbol{\rho} | \boldsymbol{\Rho} | ||||
VARRHO | \varrho | \boldsymbol{\varrho} | ||||||
SIGMA | \sigma | \Sigma | \boldsymbol{\sigma} | \boldsymbol{\Sigma} | ||||
VARSIGMA | \varsigma | \boldsymbol{\varsigma} | ||||||
TAU | \tau | \Tau | \boldsymbol{\tau} | \boldsymbol{\Tau} | ||||
UPSILON | \upsilon | \Upsilon | \boldsymbol{\upsilon} | \boldsymbol{\Upsilon} | ||||
PHI | \phi | \Phi | \boldsymbol{\phi} | \boldsymbol{\Phi} | ||||
VARPHI | \varphi | \boldsymbol{\varphi} | ||||||
CHI | \chi | \Chi | \boldsymbol{\chi} | \boldsymbol{\Chi} | ||||
PSI | \psi | \Psi | \boldsymbol{\psi} | \boldsymbol{\Psi} | ||||
OMEGA | \omega | \Omega | \boldsymbol{\omega} | \boldsymbol{\Omega} |
Arrows
LaTeX Code | Output | LaTeX Code | Output | LaTeX Code | Output | LaTeX Code | Output |
---|---|---|---|---|---|---|---|
\Downarrow | \longleftarrow | \nwarrow | \downarrow | ||||
\Longleftarrow | \Rightarrow | \hookleftarrow | \longleftrightarrow | ||||
\rightarrow | \hookrightarrow | \Longleftrightarrow | \searrow | ||||
\longmapsto | \swarrow | \leftarrow | \Updownarrow | ||||
\Longrightarrow | \uparrow | \Leftarrow | \longrightarrow | ||||
\Uparrow | \Leftrightarrow | \mapsto | \updownarrow | ||||
\leftrightarrow | \nearrow ↑ |
Larger Expressions
Subscripts, superscripts, integrals
Feature | Syntax | How it looks rendered | |
---|---|---|---|
HTML | PNG | ||
Superscript | a^2 |
a2 | |
Subscript | a_2 |
a2 | |
Grouping | a^{2+2} |
a2 + 2 | |
a_{i,j} |
ai,j | ||
Combining sub & super without and with horizontal separation | x_2^3 |
||
{x_2}^3 |
|||
Super super | 10^{10^{ \,\!{8} } |
||
Super super | 10^{10^{ \overset{8}{} }} |
||
Super super (wrong in HTML in some browsers) | 10^{10^8} |
||
Preceding and/or Additional sub & super | \sideset{_1^2}{_3^4}\prod_a^b |
||
{}_1^2\!\Omega_3^4 |
|||
Stacking | \overset{\alpha}{\omega} |
||
\underset{\alpha}{\omega} |
|||
\overset{\alpha}{\underset{\gamma}{\omega}} |
|||
\stackrel{\alpha}{\omega} |
|||
Derivative (forced PNG) | x', y'', f', f''\! |
||
Derivative (f in italics may overlap primes in HTML) | x', y'', f', f'' |
x',y'',f',f'' | |
Derivative (wrong in HTML) | x^\prime, y^{\prime\prime} |
||
Derivative (wrong in PNG) | x\prime, y\prime\prime |
||
Derivative dots | \dot{x}, \ddot{x} |
||
Underlines, overlines, vectors | \hat a \ \bar b \ \vec c |
||
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f} |
|||
\overline{g h i} \ \underline{j k l} |
|||
Arrows | A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C |
||
Overbraces | \overbrace{ 1+2+\cdots+100 }^{5050} |
||
Underbraces | \underbrace{ a+b+\cdots+z }_{26} |
||
Sum | \sum_{k=1}^N k^2 |
||
Sum (force \textstyle ) |
\textstyle \sum_{k=1}^N k^2 |
||
Product | \prod_{i=1}^N x_i |
||
Product (force \textstyle ) |
\textstyle \prod_{i=1}^N x_i |
||
Coproduct | \coprod_{i=1}^N x_i |
||
Coproduct (force \textstyle ) |
\textstyle \coprod_{i=1}^N x_i |
||
Limit | \lim_{n \to \infty}x_n |
||
Limit (force \textstyle ) |
\textstyle \lim_{n \to \infty}x_n |
||
Integral | \int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx |
||
Integral (alternate limits style) | \int_{1}^{3}\frac{e^3/x}{x^2}\, dx |
||
Integral (force \textstyle ) |
\textstyle \int\limits_{-N}^{N} e^x\, dx |
||
Integral (force \textstyle , alternate limits style) |
\textstyle \int_{-N}^{N} e^x\, dx |
||
Double integral | \iint\limits_D \, dx\,dy |
||
Triple integral | \iiint\limits_E \, dx\,dy\,dz |
||
Quadruple integral | \iiiint\limits_F \, dx\,dy\,dz\,dt |
||
Line or path integral | \int_C x^3\, dx + 4y^2\, dy |
||
Closed line or path integral | \oint_C x^3\, dx + 4y^2\, dy |
||
Intersections | \bigcap_1^n p |
||
Unions | \bigcup_1^k p |
Fractions, matrices, multilines
Feature | Syntax | How it looks rendered |
---|---|---|
Fractions | \frac{2}{4}=0.5 |
|
Small Fractions | \tfrac{2}{4} = 0.5 |
|
Large (normal) Fractions | \dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a |
|
Large (nested) Fractions | \cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a |
|
Binomial coefficients | \binom{n}{k} |
|
Small Binomial coefficients | \tbinom{n}{k} |
|
Large (normal) Binomial coefficients | \dbinom{n}{k} |
|
Matrices | \begin{matrix} x & y \\ z & v \end{matrix} |
|
\begin{vmatrix} x & y \\ z & v \end{vmatrix} |
||
\begin{Vmatrix} x & y \\ z & v \end{Vmatrix} |
||
\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} |
||
\begin{Bmatrix} x & y \\ z & v \end{Bmatrix} |
||
\begin{pmatrix} x & y \\ z & v \end{pmatrix} |
||
\bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr) |
||
Case distinctions | f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} |
|
Multiline equations | \begin{align} f(x) & = (a+b)^2 \\ & = a^2+2ab+b^2 \\ \end{align} |
|
\begin{alignat}{2} f(x) & = (a-b)^2 \\ & = a^2-2ab+b^2 \\ \end{alignat} |
||
Multiline equations (must define number of colums used ({lcr}) (should not be used unless needed) | \begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array} |
|
Multiline equations (more) | \begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array} |
|
Breaking up a long expression so that it wraps when necessary | <math>f(x) \,\!</math> <math>= \sum_{n=0}^\infty a_n x^n </math> <math>= a_0+a_1x+a_2x^2+\cdots</math> |
|
Simultaneous equations | \begin{cases} 3x + 5y + z \\ 7x - 2y + 4z \\ -6x + 3y + 2z \end{cases} |
|
Arrays | \begin{array}{|c|c||c|} a & b & S \\ \hline 0&0&1\\ 0&1&1\\ 1&0&1\\ 1&1&0\\ \end{array} |
Parenthesizing big expressions, brackets, bars
Feature | Syntax | How it looks rendered |
---|---|---|
Bad | ( \frac{1}{2} ) |
|
Good | \left ( \frac{1}{2} \right ) |
You can use various delimiters with \left and \right:
Feature | Syntax | How it looks rendered |
---|---|---|
Parentheses | \left ( \frac{a}{b} \right ) |
|
Brackets | \left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack |
|
Braces | \left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace |
|
Angle brackets | \left \langle \frac{a}{b} \right \rangle |
|
Bars and double bars | \left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \| |
|
Floor and ceiling functions: | \left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil |
|
Slashes and backslashes | \left / \frac{a}{b} \right \backslash |
|
Up, down and up-down arrows | \left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow |
|
Delimiters can be mixed, as long as \left and \right match |
\left [ 0,1 \right )</code> <br/> <code>\left \langle \psi \right | |
|
Use \left. and \right. if you don't want a delimiter to appear: |
\left . \frac{A}{B} \right \} \to X |
|
Size of the delimiters | \big( \Big( \bigg( \Bigg( \dots \Bigg] \bigg] \Big] \big]/<code> |
|
<code>\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle | ||
\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big| |
||
\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil |
||
\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow |
||
\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow |
||
\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash |
'Technology > by Lab' 카테고리의 다른 글
MathType 사용법(단축키 정리) (2) | 2013.04.22 |
---|---|
[매트랩 맨띵] 1행으로 되어 있는 매트릭스 일정한 간격으로 데이터 자르기 (0) | 2013.04.19 |
[매트랩 맨띵] Matlab으로 2의 보수 구하기 (0) | 2013.04.19 |
[매트랩맨띵] 데이터 콤마(,)와 : , space 로 되어 있는 파일 불러오기 (0) | 2012.12.14 |
매트랩으로 한 폴더 안에 있는 데이터파일(텍스트 파일등)파일 합치기 (0) | 2012.12.14 |
매트랩 툴박스 사용 방법 (0) | 2012.12.14 |
매트랩 설치 후 실행 방법 아이콘 안보일 때 (4) | 2012.12.07 |