Link Source:
MATLAB Special symbol table
Http://blog.sina.com.cn/s/blog_4a09187801014xg9.html
Character Sequence |
Symbol |
Character Sequence |
Symbol |
Character Sequence |
Symbol |
\alpha |
Alpha |
\upsilon |
Gamma |
\sim |
~ |
\beta |
Beta |
\phi |
Φ |
\leq |
≤ |
\gamma |
Gamma |
\chi |
χ |
\infty |
∞ |
\delta |
汛 |
\psi |
Ψ |
\clubsuit |
♣ |
\epsilon |
? |
\omega |
Omega |
\diamondsuit |
♦ |
\zeta |
ζ |
\gamma |
Gamma |
\heartsuit |
♥ |
\eta |
η |
\delta |
汛 |
\spadesuit |
♠ |
\theta |
Theta |
\theta |
Theta |
\leftrightarrow |
↔ |
\vartheta |
Θ |
\lambda |
Lambda |
\leftarrow |
← |
\iota |
ι |
\xi |
Ξ |
\uparrow |
↑ |
\kappa |
κ |
\pi |
Pi |
\rightarrow |
→ |
\lambda |
Lambda |
\sigma |
Σ |
\downarrow |
↓ |
\mu |
µ |
\upsilon |
Gamma |
\circ |
º |
\nu |
ν |
\phi |
Φ |
\pm |
± |
\xi |
Ξ |
\psi |
Ψ |
\geq |
≥ |
\pi |
Pi |
\omega |
Omega |
\propto |
∝ |
\rho |
ρ |
\forall |
∀ |
\partial |
∂ |
\sigma |
Σ |
\exists |
∃ |
\bullet |
• |
\varsigma |
Σ |
\ni |
? |
\div |
÷ |
\tau |
τ |
\cong |
≅ |
\neq |
≠ |
\equiv |
≡ |
\approx |
≈ |
\aleph |
ℵ |
\im |
ℑ |
\re |
ℜ |
\wp |
℘ |
\otimes |
⊗ |
\oplus |
⊙ |
\oslash |
∅ |
\cap |
∩ |
\cup |
∪ |
\supseteq |
⊇ |
\supset |
⊃ |
\subseteq |
⊆ |
\subset |
⊂ |
\int |
∫ |
\in |
∈ |
\o |
ο |
\rfloor |
E |
\lceil |
E |
\nabla |
∇ |
\lfloor |
Û |
\cdot |
· |
\ldots |
... |
\perp |
⊥ |
\neg |
¬ |
\prime |
´ |
\wedge |
∧ |
\times |
X |
/ |
∅ |
\rceil |
Ù |
\surd |
√ |
\mid |
| |
\vee |
∨ |
\varpi |
Π |
\copyright |
© |
\langle |
∠ |
\rangle |
∠ |
|
The following gives the MATLAB subscript and the use of Greek alphabet, there are more ways to use the MATLAB help
Text Properties in the document:
Subscript with _ (underline)
Superscript with ^ (cusp)
Italic \it
Blackbody \BF
<< \ll
>> \gg
Positive and negative \pm
Left ARROW \leftarrow
Right ARROW \rightarrow
Up ARROW \uparrow
Upper Circle (degrees) \circ
Example text (2,3, ' \alpha_2^\beta ')
It\w (x): MM, requires W (x) is italic, and: mm does not require italic
{it\w (x)}:mm
Put the curly braces together to set the italic
Note: use {} to enclose the required
Special mathematical notation matlab subscript, italic, and the use of Greek alphabet
\approx≈\oplus≡\neq≠\leq≤\geq≥\pm±
\timesx\div÷\int∫\exists∝\infty∞\in∈\sim≌\forall ~ \ANGLE∠\PERP ⊥\cup∪\cap∩\vee∨\wedge∧\surd square root \otimes fork symbol \oplus⊕
Arrow
\uparrow↑\downarrow↓\rightarrow→\leftarrow←
Write a text comment at the coordinates of a graphic matlab subscript, italic, and the use of the Greek alphabet in matlab subscript, italic, and the use of Greek letters
X=0:0.2:2*pi;
Y=sin (x);
Plot (x, y)
Text (2,sin (2), ' WACS5 ');
Matlab subscript, italic, and the use of Greek alphabet text modification on MATLAB graphics
Text labeling is an important factor in graphic retouching, which can be a description of a character that a user arbitrarily adds to a window, or a tick mark used in an Axis object. The common properties of character objects are as follows:
Color property: The colour of the character. The attribute value of this property is a 1x3 color vector.
Fontangle Property: Font Italic form. such as the normal ' normal ' and italic ' italic ' and so on.
FontName Property: The name of the font. such as ' Timesnewroman ' and ' Courier ' and so on.
FontSize Property: Font size. The default is in PT, and the attribute value should be a real number.
FontWeight property: Whether the font is black or not. You can choose the ' light ', ' normal ' (default), ' Demi ', and ' bold ' 4 options, and their colors will be turned black.
HorizontalAlignment Property: Represents the horizontal alignment of the text. Can have ' left ' (aligned on the right), ' center '
(Center-aligned), ' right ' (aligned on the left) three choices. Similarly, there are verticalalignment properties for the position of the character matrix.
Fontunits Property: The unit of font size. such as ' points ' (point number, PT) is the default value, in addition, you can also use the following units ' inches ' (inch), ' centimeters ' (cm), ' normalized ' (normalized value) and ' pixels ' (pixels) and so on.
Rotation properties: Font rotation angle. Can be any numeric value.
Editing property: Whether interactive modification is allowed. The options can be ' on ' and ' off '.
String property: The strings that make up this character object. can be a string matrix.
Interpreter property: Whether Tex format is allowed. Options are ' Tex ' (allow Tex format) and ' None ' (not allowed), the former shows good effect while the latter is faster.
Extent property: The position range of the string, is read-only, the 1x4 vector, the first two values represent the position of the string in the lower-left coordinate, and the next two components are the length and height of the character object.
Matlab subscript, italic, and the use of Greek letters introduction to MATLAB graphic objects
The properties that get and alter an object can be implemented using the Get () and set () function pairs.
>> set (handle, property 1, Property value 1, property 2, property value 2,...)
>> attribute value =get (handle, property)
Axis objects are commonly used in MATLAB graphics, and axis objects can be added using a menu item on MATLAB 5.3. After adding, you can change its size and shape with the mouse, and some other properties are described below:
Box property: Indicates whether a box on the axis is required, the option is ' on ' and ' off ', and the default value is ' on '. The default property values are listed earlier in this book when the property values are described later.
Colororder property: Sets the color order of multiple curves, which should be an n x 3 matrix, which can be set by the ColorMap () function.
GridLineStyle Properties: Grid line type, solid lines, dashed lines, etc., which are set similar to the plot () function option, the default value is ': ', see the previous table.
Nextplot Properties: Indicates how axis graphics are updated, ' replace ' is the default option to redraw, and the ' Add ' option means to overprint on the original graph, which is equivalent to the effect of using the hold command directly.
Title Property: Handle to the title of this axis. and its specific content is set by the title () function, so that the handle can be accessed to the original title.
Xlabel property: The handle to the x-axis callout whose contents are set by the Xlabel () function. In addition, there are similar Ylabel and Zlabel properties.
Xdir Properties: X-axis direction, you can choose ' Normal ' (forward) and ' rev ' (reverse), in addition Ydir and Zdir properties are similar.
XGrid property: Indicates whether the x-axis has a grid line, the optional value is ' off ' and ' on ', and similarly has the Ygrid and Zgrid options.
Xlim attribute: The upper and lower bounds of the x-axis, given as a vector [XM,XM]. In addition, there are Ylim and Zlim properties, and the axis () function described earlier is actually a direct assignment to these properties.
XScale Properties: X-axis scale type settings, which can be ' linear ' (linear) and ' log ' (logarithmic). Also available are the Yscale and Zscale properties.
The XTick and Xticklabel properties: The XTick property will give a vector of the ruler point values on the x-axis, and Xticklabel will hold the marker strings on those ruler points. The Y and Z axes will also have corresponding ruler properties, such as Ztick.
Matlab--matlab Special Symbol table "reprint"