Main Content
xscale
Description
xscale(
sets the scale of the
x-axis to be linear or logarithmic in the current axes. Specify
scale
)scale
as "linear"
or "log"
. You
can also omit the parentheses and quotation marks when using this syntax. For example,
xscale log
is equivalent to xscale("log")
.
xscale(
sets the scale for
the specified axes object. This syntax is useful when you are working with multiple plots,
either in a tiled chart layout or in different figures.ax
,___)
xs = xscale
returns the current x-axis scale
value as 'linear'
or 'log'
.
Examples
Input Arguments
Version History
Introduced in R2023b