Matlab--matlab Special Symbol table "reprint"

Source: Internet
Author: User

Link Source:

MATLAB Special symbol table


Character Sequence


Character Sequence


Character Sequence
























































































































































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


\timesx\div÷\int∫\exists∝\infty∞\in∈\sim≌\forall ~ \ANGLE∠\PERP ⊥\cup∪\cap∩\vee∨\wedge∧\surd square root \otimes fork symbol \oplus⊕



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


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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.