plot
R2026bDescription
Add-On Required: This feature requires the Extended Tire Features for Vehicle Dynamics Blockset add-on.
plot(___, specifies
additional options using one or more name-value arguments. For example, to show a legend on
a plot, set Name=Value)ShowLegend to true.
Examples
Use the plot function to visually inspect data stored in tireData objects. First, import the tire data from Tyre Data Exchange Format (TYDEX) v1.3 files. Then, specify arguments in the plot function to customize different plot views.
This example requires the Extended Tire Features for Vehicle Dynamics Blockset™ support package. See Install Support Package.
Import Tire Data
Build a string array from the TYDEX filenames that contain the tire data.
tirepath = fullfile(pwd); tydexdir = dir(fullfile(tirepath,"data_tydex_files","*.tdx")); tydexstr = join([{tydexdir.folder}',{tydexdir.name}'],filesep);
Import the tire data into an array of tireData objects from the files specified in the string array tydexstr. The length of the tireData objects array is the same length as the input string array. Data from each file is stored in a tireData object. For more information on tire data permitted, see Example Tire Data.
td = tireData(tydexstr);
Autoplot Tire Data
Plot the array of tireData objects without specifying input arguments. If you do not specify the input argument DataVariableNames, the plot function automatically generates plots common for the test procedure associated with the data.
Note that not all tire test types are supported.
plot(td)
![Figure contains 72 axes objects and another object of type uitabgroup. Axes object 1 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 2 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 3 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 4 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 5 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 6 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 7 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 8 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 9 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 10 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 11 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 12 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 13 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 14 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 15 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 16 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 17 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 18 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 19 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 20 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 21 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 22 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 23 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 24 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 25 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 26 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 27 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 28 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 29 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 30 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 31 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 32 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 33 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4340, 5210, 6510. Axes object 34 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4340, 5210, 6510. Axes object 35 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4340, 5210, 6510. Axes object 36 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4340, 5210, 6510. Axes object 37 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 38 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 39 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 40 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 41 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 42 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 43 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 44 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 45 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 46 with title Fy vs kappa, xlabel Longitudinal slip [], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 47 with title Mz vs kappa, xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 48 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 49 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5170, 6460. Axes object 50 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 51 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 52 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5170, 6460. Axes object 53 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4280, 5170, 6460. Axes object 54 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 55 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 56 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4280, 5170, 6460. Axes object 57 with title Fx vs kappa, xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5170, 6460. Axes object 58 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 59 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 60 with title Mx vs kappa, xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5170, 6460. Axes object 61 with title Fy vs alpha, xlabel Slip angle [rad], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 62 with title Mz vs alpha, xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 63 with title Mx vs alpha, xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 64 with title Fy vs alpha, xlabel Slip angle [rad], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 65 with title Mz vs alpha, xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 66 with title Mx vs alpha, xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 67 with title Fy vs alpha, xlabel Slip angle [rad], ylabel Lateral force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 68 with title Mz vs alpha, xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 69 with title Mx vs alpha, xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 70 with title Friction Plot gamma = 0.105, xlabel Lateral force [kN], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5180, 6480. Axes object 71 with title Friction Plot gamma = 0, xlabel Lateral force [kN], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6490. Axes object 72 with title Friction Plot gamma = -0.105, xlabel Lateral force [kN], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6490.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_01.png)
Plot Tire Data Channels
You can plot a single or multiple tireData objects, assign colors, and legend values to plots and plot filtered tire data.
Plot a Single tireData Object
Specifying the input argument DataVariableNames, plot the longitudinal force versus the longitudinal slip of a single tireData object.
plot(td(1),DataVariableNames=["kappa","Fx"]);
![Figure contains an axes object. The axes object with title Longitudinal force [kN] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains a line object which displays its values using only markers. This object represents 0.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_02.png)
Plot Multiple tireData Objects
Specifying the input argument DataVariableNames, plot the longitudinal force versus the longitudinal slip of multiple tireData objects.
plot(td(1:2),DataVariableNames=["kappa","Fx"]);
![Figure contains an axes object. The axes object with title Longitudinal force [kN] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains a line object which displays its values using only markers. This object represents 0.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_03.png)
Assign Colors and Legend Values to Plot
Specifying the input arguments DataVariableNames and ColorBy, plot the longitudinal force versus the longitudinal slip of multiple tireData objects using the normal force to assign colors and legend values to the plot.
Note that the mean value of Fz is used to assign the legend values, which are rounded with the mean values of other tireData objects.
plot(td(1:8),DataVariableNames=["kappa","Fx"],ColorBy="Fz");
![Figure contains an axes object. The axes object with title Longitudinal force [kN] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_04.png)
Plot a Subset of Tire Data
Specifying the input arguments DataVariableNames, ColorBy, FilterBy, and FilterByValues, plot the longitudinal force versus the longitudinal slip of multiple tireData objects. Use the inclination angle to assign colors and legend values to the plot. Filter by the normal force values of 4000 and 5000.
plot(td(1:24),DataVariableNames=["kappa","Fx"],ColorBy="gamma", ... FilterBy="Fz",FilterByValues={[4000,5000]});
![Figure contains an axes object. The axes object with title Longitudinal force [kN] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [kN] contains 3 objects of type line. One or more of the lines displays its values using only markers These objects represent -0.105, 0, 0.105.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_05.png)
Specifying the input arguments DataVariableNames, ColorBy, FilterBy, and FilterByValues, plot the longitudinal force versus the lateral force of the tireData object array. Use the slip angle to assign colors and legend values to the plot. Filter by the inclination angle values of -0.2 and 0.2 and the test method value of Combined.
plot(td,DataVariableNames=["Fy","Fx"],ColorBy="alpha", ... FilterBy=["TestMethod","gamma"], ... FilterByValues={"Combined",[-0.02 0.02]});
![Figure contains an axes object. The axes object with title Longitudinal force [kN] vs Lateral force [kN], xlabel Lateral force [kN], ylabel Longitudinal force [kN] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent -0.14, -0.087, -0.035, 0.035.](../../examples/vdynblks/PlotTireMeasurementDataForVisualInspectionExample_06.png)
Input Arguments
Tire data, specified as a tireData object or an array of
tireData objects.
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN, where Name is
the argument name and Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: plot(tdata,DataVariableNames="kappa")
Data variable names, specified as an array of strings.
DataVariableNames must be a data channel property of
tireData object.
If one variable name is passed, the variable is set as the y-axis channel, and the x-coordinate is defined as
1:length(Y).If two variable names are passed, the order is [x-axis variable, y-axis variable].
If three variable names are passed, the order is [x-axis variable, y-axis variable, z-axis variable].
Note
If no variable names are passed, an autoplot function runs to generate the most
appropriate plots for the tireData object. The autoplot function is
limited to plotting steady-state and single-channel sweep maneuvers.
Example: DataVariableNames=["kappa", "Fx"]
Data Types: string
Option to color by value, specified as a string to determine how line colors and
legend values are assigned. String values must be a property of the
tireData object.
Note
If the ColorBy value is a data channel and
ColorByScheme is specified as "Legend",
the function uses the mean value for each tireData object to
differentiate the color groups.
Example: ColorBy="Fz"
Data Types: string
Option to plot the ColorBy argument using a legend or a
gradient, specified as "Legend" or
"Colorbar".
Example: ColorByScheme = "Colorbar"
Data Types: string
Option to filter tire data, specified as string array. String value must be a
property of tireData.
Note
The FilterBy name-value argument must be used with the
FilterByValues name-value argument. The
FilterBy string array must be the same length as the
FilterByValues cell array.
Example:
FilterBy=["TireSize", "Fz"]
Data Types: string
Option to filter tireData objects by values, specified as a cell
array. The FilterByValues cell data type must be a string or a
double depending on the tireData property defined in the
FilterBy string array.
For data channels, the
FilterByValuesargument must be a two-element double.tireDataobjects with a mean value for theFilterBychannel outside of the range specified in theFilterByValuesare excluded from the plot.For
tireDataproperties that are not data channels, theFilterByValuesargument must be a string array.tireDataobjects with a property value that is not a member of theFilterByValuesarray are excluded from the plot.
Note
The FilterByValues name-value argument must be used with the
FilterBy name-value argument. The
FilterByValues cell array must be the same length as the
FilterBy string array.
Example: FilterByValues={"235/45R18",
[3000,8000]}
Data Types: double | string
Parent container or axes in which to draw the plot, specified as an axes, figure,
panel, or tab object. If you do not specify Parent, a new figure is created.
Note
If you do not specify DataVariableNames, the parent must
be a valid tab container, as the autoplot generates a tabbed plot.
Plot title, specified as a string.
Example: Title="Plot Title"
Data Types: string
Since R2026b
Title display format, specified as one of these options:
"long"— displays full channel labels with units; default for single-axis plots"short"— displays short channel names; default for2x2plot layouts and whenDataVariableNamesis not specified"none"— suppresses the title
Note
TitleFormat is ignored when Title is
specified.
Example: TitleFormat="short"
Data Types: string
Plot subtitle, specified as a string.
Example: Subtitle="Plot subtitle"
Data Types: string
Option to show legend, specified as false or
true.
Example: ShowLegend=true
Data Types: logical
Line style, specified as one of these values:
none"-""--"":""-."
Example: LineStyle="-"
Data Types: string
Line width, specified as a positive value.
Example: LineWidth=1
Marker, specified as one of these values:
"o""+""*""x""-""|""square""diamond""^""v"">""<""pentagram""hexagram""none"
Example: Marker="square"
Data Types: string
Marker size, specified as a positive value.
Example: MarkerSize=6
Since R2026b
Plot axis unit scaling, specified as one of these options:
"auto"— the software automatically determines the appropriate unit independently per-axis from data magnitude"base"— no scalingstring array — per-axis target units; the length of the array must match the length of
DataVariableNames
Example: Units=["deg","kN"]
Data Types: string
Since R2026a
Option to display or hide plot grid lines, specified as one of these options:
"off"— hide grid lines"on"— display major grid lines"minor"— display minor grid lines
Example: Grid="on"
Tire model, specified as a tireModel object or an array of
tireModel objects with a maximum length of four.
Version History
Introduced in R2023bStarting in R2026b, you can set the new Units name-value argument
to specify the unit scaling for each plot axis.
Starting in R2026b, you can set the new TitleFormat name-value
argument to change the title display format.
Starting in R2026a, you can set the new Grid name-value
argument.
Starting in R2026a, you can set the new ColorByScheme name-value
argument.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)