主要内容

Loglog

Log-log scale plot

  • Log-log scale plot

描述

向量和Matrix Data

example

Loglog(X,Y)情节x- 和y- 使用基本10对数刻度的坐标x- 轴和y-轴。

  • To plot a set of coordinates connected by line segments, specifyXYas vectors of the same length.

  • 要在同一轴上绘制多组坐标,请至少指定一个X或者Y作为矩阵。

example

Loglog(X,Y,LinesPec)creates the plot using the specified line style, marker, and color.

example

Loglog(X1,Y1,...,,,Xn,,Yn)情节multiple pairs ofx- 和y- 在同一组轴上的坐标。使用此语法作为将坐标指定为矩阵的替代方法。

example

Loglog(X1,Y1,LinesPec1,...,,,Xn,,Yn,,LinesPecn)assigns specific line styles, markers, and colors to eachx-ypair. You can specifyLinesPec对于一些x-ypairs and omit it for others. For example,loglog(x1,y1,'o',x2,y2)指定markers for the firstx-ypair but not for the second pair.

example

Loglog(Y)情节Y违反一套隐性x- 坐标。

  • 如果Yis a vector, thex-coordinates range from 1 to冗长)

  • 如果Y是一个矩阵,该图在每列中包含一行Y。这x-coordinates range from 1 to the number of rows inY

如果Ycontains complex numbers,Loglog情节the imaginary part ofYversus the real part ofY。However, if you specify bothXY, MATLAB®ignores the imaginary part.

Loglog(Y,LinesPec)情节Yusing implicitx-coordinates, and specifies the line style, marker, and color.

表数据

example

Loglog(TBL,xvar,yvar)绘制变量xvaryvar从桌子上TBL。要绘制一个数据集,请指定一个变量xvar还有一个变量yvar。To plot multiple data sets, specify multiple variables forxvar,yvar, 或两者。如果两个参数指定多个变量,则必须指定相同数量的变量。(since R2022a)

Loglog(TBL,yvar)情节从表中指定的变量霍霍t the row indices of the table. Timetables are not supported for this syntax.(since R2022a)

Additional Options

example

Loglog(ax,___)在目标轴中显示图。将轴指定为前一个语法中的第一个参数。

example

Loglog(___,名称,价值)指定Line使用一个或多个名称值参数的属性。这些属性适用于所有绘制线。在任何先前的语法中的所有参数之后,指定名称值参数。有关属性列表,请参见Line Properties

example

p = loglog(___)返回一个Lineobject or an array ofLineobjects. Usepto modify properties of the plot after creating it. For a list of properties, seeLine Properties

例子

全部收缩

Definex作为50个对数间隔数的向量在间隔上[ 10 - 1 , 10 2 ]. Defineyas 2 x 。然后绘制xy, 和call the网格function to show the grid lines.

x = logspace(-1,2);y =2。^x;loglog(x,y)网格

图包含一个轴对象。这axes object contains an object of type line.

Create a vector ofx- 坐标和两个向量y- 坐标。通过通过逗号分隔来绘制两行x-ypairs toLoglog

x = logspace(-1,2);y1 = 10.^x;y2 = 1./10.^;Loglog(x,y1,x,y2) grid

图包含一个轴对象。这axes object contains 2 objects of type line.

Alternatively, you can create the same plot with onex-y通过指定配对y作为矩阵:loglog(x,[y1; y2])

Create a set ofx- 和y- 协调并在日志图中显示它们。

x = logspace(-1,2,10000);y = 5 + 3*sin(x);loglog(x,y)

图包含一个轴对象。这axes object contains an object of type line.

Call theyticks功能定位y- 轴刻度值以整个数字增量沿y-轴。这n createx- 和y-axis labels by calling theXLABELylabel功能。

Yticks([3 4 5 6 7])Xlabel('X')ylabel('5 + 3 sin(x)')

图包含一个轴对象。这axes object contains an object of type line.

Create a set ofx- 和y- 协调并在日志图中显示它们。Specify the line style as's'to display square markers without connecting lines. Specify the marker fill color as the RGB triplet[0 0.447 0.741],对应于蓝色的深色阴影。

x = logspace(-1,2,20); y = 10.^x; loglog(x,y,'s','MarkerFaceColor',[0 0.447 0.741])网格

图包含一个轴对象。这axes object contains an object of type line.

Create two sets ofx- 和y- 协调并在日志图中显示它们。通过调用传奇function and specifying the location as'西北'

x = logspace(-1,2,10000);y1 = 5 + 3*sin(x/4);y2 = 5-3*sin(x/4);loglog(x,y1,x,y2,' - ') legend('Signal 1','Signal 2','地点','西北')

图包含一个轴对象。这axes object contains 2 objects of type line. These objects represent Signal 1, Signal 2.

当您仅指定一个坐标向量时,Loglog情节those coordinates against the values1:length(y)。例如,定义y作为6个值的向量0.001100。Create a log-log plot of y.

y = [0.001 0.01 0.1 1 10 100]; loglog(y) grid

图包含一个轴对象。这axes object contains an object of type line.

如果指定yas a matrix, the columns of y are plotted against the values1:size(y,1)。例如,定义yas a 5-by-3 matrix and pass it to theLoglog功能。结果图包含3行,每行都有x-coordinates that range from1to5

y = [0.0010 0.0100 0.1000 0.0100 0.1000 1.0000 0.1000 1.0000 10.0000 1.0000 10.5000 100.0000 10.0000 100.0000 1000.0000]; loglog(y) grid

图包含一个轴对象。轴对象包含3个类型行的对象。

Since R2022a

A convenient way to plot data from a table is to pass the table to theLoglogfunction and specify the variables to plot.

Create a table containing two variables. Then display the first three rows of the table.

输入= logspace(-1,2)';输出=10。^输入;tbl =表(输入,输出);头(TBL,3)
ans =3×2桌输入输出_______ ______ 0.1 1.2589 0.11514 1.3036 0.13257 1.357

绘制输入变量x- 轴和Output变量y-轴。返回Line对象为p并打开轴网格。请注意,轴标签匹配变量名。

p = loglog(tbl,“输入”,“输出”); grid

图包含一个轴对象。这axes object contains an object of type line.

要修改行的各个方面,请设置LineStyle,Color, 和Markerproperties on theLine目的。例如,将行更改为带有点标记的红色虚线。

p.linestyle =":";p.olor ="red";p.marker =“。”;

图包含一个轴对象。这axes object contains an object of type line.

Since R2022a

创建一个包含三个变量的表。然后在表中显示前三行。

输入= logspace(-1,2)';Output1 = 10.^Input; Output2 = 1./10.^Input; tbl = table(Input,Output1,Output2); head(tbl,3)
ans =3×3 table输入输出1输出2 _______ _______ _______ 0.1 1.2589 0.79433 0.11514 1.3036 0.76711 0.13257 1.357 0.73693

绘制输入变量x- 轴和Output1Output2变量y-轴。Add a legend. Notice that the legend labels match the variable names.

loglog(tbl,“输入”,[["Output1""Output2"]) grid传奇

图包含一个轴对象。这axes object contains 2 objects of type line.

创建一个平铺图的布局'flow'瓷砖布置,使轴填充布局中的可用空间。接下来,致电nexttile功能创建轴对象并将其返回为ax1。这n display a log-log plot by passingax1Loglog功能。

Tiledlayout('flow') ax1 = nexttile; x = logspace(-1,2); y1 = 10.^x; loglog(ax1,x,y1)

图包含一个轴对象。这axes object contains an object of type line.

Repeat the process to create a second axes object and a second log-log plot.

ax2 = nexttile;y2 = 1./10.^;LOGLOG(AX2,X,Y2)

图包含2个轴对象。轴对象1包含类型行的对象。轴对象2包含类型行的对象。

创建一个包含两条线的日志图图,然后返回变量中的行对象LG

x = logspace(-1,2);y1 = 10.^x;y2 = 1./10.^;lg = loglog(x,y1,x,y2);

图包含一个轴对象。这axes object contains 2 objects of type line.

将第一行的宽度更改为2, 和change the color of the second line to purple.

LG(1).LineWidth = 2; lg(2).Color = [0.4 0 1];

图包含一个轴对象。这axes object contains 2 objects of type line.

输入Arguments

全部收缩

x- 坐标,指定为标量,向量或矩阵。大小和形状Xdepends on the shape of your data and the type of plot you want to create. This table describes the most common situations.

图的类型 如何指定坐标
单点

SpecifyXY作为标量,包括标记。例如:

Loglog(1,2,'o')

一组点

SpecifyXYas any combination of row or column vectors of the same length. For example:

Loglog([1 2 3],[4; 5; 6])

Multiple sets of points
(使用向量)

Specify consecutive pairs ofXYvectors. For example:

Loglog([1 2 3],[4 5 6],[1 2 3],[7 8 9])

Multiple sets of points
(using matrices)

如果all the sets share the samex- ory-coordinates, specify the shared coordinates as a vector and the other coordinates as a matrix. The length of the vector must match one of the dimensions of the matrix. For example:

Loglog([1 2 3],[4 5 6; 7 8 9])
如果the matrix is square,Loglog情节上e line for each column in the matrix.

Alternatively, specifyXYas matrices of equal size. In this case,Loglog绘制每一列的Y相对于相应的列X。例如:

loglog([1 2 3; 4 5 6],[7 8 9; 10 11 12])

Loglogmight exclude coordinates in some cases:

  • 如果the coordinates include positive and negative values, only the positive values are displayed.

  • 如果坐标全部为负,则所有值均以适当的符号显示在日志刻度上。

  • Zero values are not displayed.

数据类型:single|双倍的|int8|INT16|INT32|INT64|uint8|UINT16|uint32|uint64

y- 坐标,指定为标量,向量或矩阵。大小和形状Ydepends on the shape of your data and the type of plot you want to create. This table describes the most common situations.

图的类型 如何指定坐标
单点

SpecifyXY作为标量,包括标记。例如:

Loglog(1,2,'o')

一组点

SpecifyXYas any combination of row or column vectors of the same length. For example:

Loglog([1 2 3],[4; 5; 6])

Multiple sets of points
(使用向量)

Specify consecutive pairs ofXYvectors. For example:

Loglog([1 2 3],[4 5 6],[1 2 3],[7 8 9])

Multiple sets of points
(using matrices)

如果all the sets share the samex- ory-coordinates, specify the shared coordinates as a vector and the other coordinates as a matrix. The length of the vector must match one of the dimensions of the matrix. For example:

Loglog([1 2 3],[4 5 6; 7 8 9])
如果the matrix is square,Loglog情节上e line for each column in the matrix.

Alternatively, specifyXYas matrices of equal size. In this case,Loglog绘制每一列的Y相对于相应的列X。例如:

loglog([1 2 3; 4 5 6],[7 8 9; 10 11 12])

Loglogmight exclude coordinates in some cases:

  • 如果the coordinates include positive and negative values, only the positive values are displayed.

  • 如果坐标全部为负,则所有值均以适当的符号显示在日志刻度上。

  • Zero values are not displayed.

数据类型:single|双倍的|int8|INT16|INT32|INT64|uint8|UINT16|uint32|uint64

Line style, marker, and color, specified as a character vector or string containing symbols. The symbols can appear in any order. You do not need to specify all three characteristics (line style, marker, and color). For example, if you omit the line style and specify the marker, then the plot shows only the marker and no line.

例子:'--or'是带有圆形标记的红色虚线

Line Style 描述 Resulting Line
“- - -” Solid line

实线样品

' - ' Dashed line

虚线样品

':' 虚线

Sample of dotted line

'-.' Dash-dotted line

Sample of dash-dotted line, with alternating dashes and dots

Marker 描述 Resulting Marker
'o' Circle

圆形标记样品

'+' 加号

Sample of plus sign marker

'*' Asterisk

星号标记样品

'.' 观点

Sample of point marker

'X'

跨标记样本

'_' Horizontal line

Sample of horizontal line marker

'|' Vertical line

Sample of vertical line marker

's' 正方形

平方标记样品

'd' Diamond

钻石线标记样品

'^' 向上的三角形

向上的三角标记样本

'v' Downward-pointing triangle

向下点三角形标记的样本

'>' Right-pointing triangle

样本的三点特里安gle marker

'<' Left-pointing triangle

Sample of left-pointing triangle marker

'p' Pentagram

五角星标记样品

'H' Hexagram

六边形标记样品

颜色名称 简称 RGB Triplet 外貌
“红色” 'r' [1 0 0]

Sample of the color red

'绿色' 'G' [0 1 0]

颜色绿色样品

'蓝色的' 'b' [0 0 1]

蓝色样品

'青色' 'c' [0 1 1]

Sample of the color cyan

'品红' 'M' [1 0 1]

Sample of the color magenta

'yellow' 'y' [1 1 0]

Sample of the color yellow

'black' 'K' [0 0 0]

颜色黑色样品

'white' 'w' [1 1 1]

Sample of the color white

源表包含要绘制的数据,指定为表或时间表。

表变量包含x-coordinates, specified using one of the indexing schemes from the table.

Indexing Scheme 例子

可变名称:

  • A string, character vector, or cell array.

  • A图案目的。

  • “一个”或者'A'— A variable calledA

  • [“ A”,“ B”]或者{'a','b'}- 两个变量称为AB

  • “ var”+digitsPattern(1)— Variables named“ var”其次是一个数字

可变索引:

  • An index number that refers to the location of a variable in the table.

  • A vector of numbers.

  • 逻辑向量。通常,该矢量与变量数量相同,但是您可以省略尾声0或者falsevalues.

  • 3- 表中的第三个变量

  • [2 3]— The second and third variables from the table

  • [false false true]- 第三个变量

变量类型:

  • Avartype选择指定类型的变量的下标。

  • VARTYPE(“分类”)- 所有包含分类值的变量

这桌子variables you specify can contain any numeric values. However,Loglog可能以与指定时相同的方式从图中排除负值和零值XY作为包含负值或零值的向量。

如果xvaryvar两者都指定多个变量,变量的数量必须相同。

例子:loglog(tbl,[“ x1”,“ x2”],“ y”)指定the table variables namedx1x2for thex- 坐标。

例子:loglog(tbl,2,"y")指定第二个变量x- 坐标。

例子:loglog(tbl,vartype("numeric"),"y")指定所有数字变量x- 坐标。

表变量包含y-coordinates, specified using one of the indexing schemes from the table.

Indexing Scheme 例子

可变名称:

  • A string, character vector, or cell array.

  • A图案目的。

  • “一个”或者'A'— A variable calledA

  • [“ A”,“ B”]或者{'a','b'}- 两个变量称为AB

  • “ var”+digitsPattern(1)— Variables named“ var”其次是一个数字

可变索引:

  • An index number that refers to the location of a variable in the table.

  • A vector of numbers.

  • 逻辑向量。通常,该矢量与变量数量相同,但是您可以省略尾声0或者falsevalues.

  • 3- 表中的第三个变量

  • [2 3]— The second and third variables from the table

  • [false false true]- 第三个变量

变量类型:

  • Avartype选择指定类型的变量的下标。

  • VARTYPE(“分类”)- 所有包含分类值的变量

这桌子variables you specify can contain any numeric values. However,Loglog可能以与指定时相同的方式从图中排除负值和零值XY作为包含负值或零值的向量。

如果xvaryvar两者都指定多个变量,变量的数量必须相同。

例子:loglog(tbl,"x",["y1","y2"])指定the table variables namedy1y2for they- 坐标。

例子:loglog(tbl,“ x”,2)指定第二个变量y- 坐标。

例子:loglog(tbl,“ x”,vartype(“ numeric”))指定所有数字变量y- 坐标。

目标轴, specified as an目的。如果you do not specify the axes and if the current axes is Cartesian, thenLogloguses the current axes.

Name-Value Arguments

将可选的参数对Name1=Value1,...,NameN=ValueN, 在哪里Nameis the argument name and价值是相应的值。名称值参数必须在其他参数之后出现,但是对的顺序并不重要。

Before R2021a, use commas to separate each name and value, and encloseNamein quotes.

例子:Loglog([1 2],[3 4],'Color','red')指定图块的红线。

Note

这properties listed here are only a subset. For a complete list, seeLine Properties

Color, specified as an RGB triplet, a hexadecimal color code, a color name, or a short name. The color you specify sets the line color. It also sets the marker edge color when theMarkeredGecolor属性设置为'auto'

对于自定义颜色,请指定RGB三重态或十六进制颜色代码。

  • RGB三重态是一个三元素行矢量,其元素指定了颜色的红色,绿色和蓝色组件的强度。强度必须在范围内[0,1];例如,[0.4 0.6 0.7]

  • 十六进制的颜色代码是字符向量或字符串标量,以哈希符号开头(#),然后是三个或六个十六进制的数字,范围从0toF。这些值不敏感。因此,颜色代码'#ff8800','#ff8800','#f80', 和'#f80'are equivalent.

另外,您可以按名称指定一些常见的颜色。该表列出了命名的颜色选项,等效的RGB三重态和十六进制颜色代码。

颜色名称 简称 RGB Triplet Hexadecimal Color Code 外貌
“红色” 'r' [1 0 0] '#FF0000'

Sample of the color red

'绿色' 'G' [0 1 0] '#00FF00'

颜色绿色样品

'蓝色的' 'b' [0 0 1] '#0000FF'

蓝色样品

'青色' 'c' [0 1 1] '#00ffff'

Sample of the color cyan

'品红' 'M' [1 0 1] '#ff00ff'

Sample of the color magenta

'yellow' 'y' [1 1 0] '#FFFF00'

Sample of the color yellow

'black' 'K' [0 0 0] '#000000'

颜色黑色样品

'white' 'w' [1 1 1] '#ffffff'

Sample of the color white

'none' Not applicable Not applicable Not applicable No color

Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB uses in many types of plots.

RGB Triplet Hexadecimal Color Code 外貌
[0 0.4470 0.7410] '#0072BD'

RGB三重态样品[0 0.4470 0.7410],显示为深蓝色

[0.8500 0.3250 0.0980] '#D95319'

Sample of RGB triplet [0.8500 0.3250 0.0980], which appears as dark orange

[0.9290 0.6940 0.1250] '#EDB120'

Sample of RGB triplet [0.9290 0.6940 0.1250], which appears as dark yellow

[0.4940 0.1840 0.5560] '#7E2F8E'

Sample of RGB triplet [0.4940 0.1840 0.5560], which appears as dark purple

[0.4660 0.6740 0.1880] '#77AC30'

Sample of RGB triplet [0.4660 0.6740 0.1880], which appears as medium green

[0.3010 0.7450 0.9330] '#4dbeee'

RGB三胞胎样品[0.3010 0.7450 0.9330],如浅蓝色

[0.6350 0.0780 0.1840] '#a2142f'

RGB三重态样品[0.6350 0.0780 0.1840],看起来为深红色

线宽,指定为点的正值,其中1分= 1/72英寸。如果线具有标记,则行宽也会影响标记边缘。

这line width cannot be thinner than the width of a pixel. If you set the line width to a value that is less than the width of a pixel on your system, the line displays as one pixel wide.

标记大小, specified as a positive value in points, where 1 point = 1/72 of an inch.

标记大纲颜色,指定为'auto',一个RGB三重态,十六进制的颜色代码,颜色名称或短名称。这default value of'auto'uses the same color as theColorproperty.

对于自定义颜色,请指定RGB三重态或十六进制颜色代码。

  • RGB三重态是一个三元素行矢量,其元素指定了颜色的红色,绿色和蓝色组件的强度。强度必须在范围内[0,1];例如,[0.4 0.6 0.7]

  • 十六进制的颜色代码是字符向量或字符串标量,以哈希符号开头(#),然后是三个或六个十六进制的数字,范围从0toF。这些值不敏感。因此,颜色代码'#ff8800','#ff8800','#f80', 和'#f80'are equivalent.

另外,您可以按名称指定一些常见的颜色。该表列出了命名的颜色选项,等效的RGB三重态和十六进制颜色代码。

颜色名称 简称 RGB Triplet Hexadecimal Color Code 外貌
“红色” 'r' [1 0 0] '#FF0000'

Sample of the color red

'绿色' 'G' [0 1 0] '#00FF00'

颜色绿色样品

'蓝色的' 'b' [0 0 1] '#0000FF'

蓝色样品

'青色' 'c' [0 1 1] '#00ffff'

Sample of the color cyan

'品红' 'M' [1 0 1] '#ff00ff'

Sample of the color magenta

'yellow' 'y' [1 1 0] '#FFFF00'

Sample of the color yellow

'black' 'K' [0 0 0] '#000000'

颜色黑色样品

'white' 'w' [1 1 1] '#ffffff'

Sample of the color white

'none' Not applicable Not applicable Not applicable No color

Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB uses in many types of plots.

RGB Triplet Hexadecimal Color Code 外貌
[0 0.4470 0.7410] '#0072BD'

RGB三重态样品[0 0.4470 0.7410],显示为深蓝色

[0.8500 0.3250 0.0980] '#D95319'

Sample of RGB triplet [0.8500 0.3250 0.0980], which appears as dark orange

[0.9290 0.6940 0.1250] '#EDB120'

Sample of RGB triplet [0.9290 0.6940 0.1250], which appears as dark yellow

[0.4940 0.1840 0.5560] '#7E2F8E'

Sample of RGB triplet [0.4940 0.1840 0.5560], which appears as dark purple

[0.4660 0.6740 0.1880] '#77AC30'

Sample of RGB triplet [0.4660 0.6740 0.1880], which appears as medium green

[0.3010 0.7450 0.9330] '#4dbeee'

RGB三胞胎样品[0.3010 0.7450 0.9330],如浅蓝色

[0.6350 0.0780 0.1840] '#a2142f'

RGB三重态样品[0.6350 0.0780 0.1840],看起来为深红色

标记填充颜色,指定为'auto',一个RGB三重态,十六进制的颜色代码,颜色名称或短名称。这'auto'option uses the same color as theColor父轴的属性。如果指定'auto'轴图框是看不见的,标记填充颜色是图的颜色。

对于自定义颜色,请指定RGB三重态或十六进制颜色代码。

  • RGB三重态是一个三元素行矢量,其元素指定了颜色的红色,绿色和蓝色组件的强度。强度必须在范围内[0,1];例如,[0.4 0.6 0.7]

  • 十六进制的颜色代码是字符向量或字符串标量,以哈希符号开头(#),然后是三个或六个十六进制的数字,范围从0toF。这些值不敏感。因此,颜色代码'#ff8800','#ff8800','#f80', 和'#f80'are equivalent.

另外,您可以按名称指定一些常见的颜色。该表列出了命名的颜色选项,等效的RGB三重态和十六进制颜色代码。

颜色名称 简称 RGB Triplet Hexadecimal Color Code 外貌
“红色” 'r' [1 0 0] '#FF0000'

Sample of the color red

'绿色' 'G' [0 1 0] '#00FF00'

颜色绿色样品

'蓝色的' 'b' [0 0 1] '#0000FF'

蓝色样品

'青色' 'c' [0 1 1] '#00ffff'

Sample of the color cyan

'品红' 'M' [1 0 1] '#ff00ff'

Sample of the color magenta

'yellow' 'y' [1 1 0] '#FFFF00'

Sample of the color yellow

'black' 'K' [0 0 0] '#000000'

颜色黑色样品

'white' 'w' [1 1 1] '#ffffff'

Sample of the color white

'none' Not applicable Not applicable Not applicable No color

Here are the RGB triplets and hexadecimal color codes for the default colors MATLAB uses in many types of plots.

RGB Triplet Hexadecimal Color Code 外貌
[0 0.4470 0.7410] '#0072BD'

RGB三重态样品[0 0.4470 0.7410],显示为深蓝色

[0.8500 0.3250 0.0980] '#D95319'

Sample of RGB triplet [0.8500 0.3250 0.0980], which appears as dark orange

[0.9290 0.6940 0.1250] '#EDB120'

Sample of RGB triplet [0.9290 0.6940 0.1250], which appears as dark yellow

[0.4940 0.1840 0.5560] '#7E2F8E'

Sample of RGB triplet [0.4940 0.1840 0.5560], which appears as dark purple

[0.4660 0.6740 0.1880] '#77AC30'

Sample of RGB triplet [0.4660 0.6740 0.1880], which appears as medium green

[0.3010 0.7450 0.9330] '#4dbeee'

RGB三胞胎样品[0.3010 0.7450 0.9330],如浅蓝色

[0.6350 0.0780 0.1840] '#a2142f'

RGB三重态样品[0.6350 0.0780 0.1840],看起来为深红色

提示

  • 利用NaN或者infto create breaks in the lines. For example, this code plots a line with a break betweeny = 2y = 4

    Loglog([1 2 3 4 5],[1 2 NaN 4 5])

  • Loglogfunction uses colors and line styles based on the色点Linestyleorderproperties of the axes.Loglogcycles through the colors with the first line style. Then, it cycles through the colors again with each additional line style.

    您可以通过设置绘制绘图后更改颜色和线样式色点或者Linestyleorderproperties on the axes. You can also call thecolororderfunction to change the color order for all the axes in the figure.

算法

Loglog功能图通过设置日志刻度坐标XScaleYScaleproperties of the axes to'log'。但是,如果轴hold状态是'on'在打电话之前Loglog,这些属性不会改变,图可能以线性或半尺度显示。

Extended Capabilities

Version History

在R2006a之前引入

展开全部

See Also

Functions

Properties