

MATLAB HELP LINE HOW TO
See the ColorSpec for more information on color.Įxamples Plot the sine function over three different ranges using different line styles, colors, and markers:Ĭreate a plot illustrating how to set line graphics properties: This is useful if you want to specific a color that is not in the list by using RGB values. In addition, you can specify the LineStyle, Color, and Marker properties instead of using the symbol string. MarkerSize - specifies the size of the marker in points.MarkerFaceColor - specifies the color of the face of filled markers.The first help text line, often called the H1 line, typically includes the program name and a brief description. MarkerEdgeColor - specifies the color of the marker or the edge color forfilled markers (circle, square, diamond, pentagram, hexagram, and the four triangles). When you type help addme at the command line, the help text displays in the Command Window: addme Add two values together.LineWidth - specifies the width (in points) of the line.Related Properties When using the plot and plot3 functions, you can also specify other characteristics of lines using graphics properties: Specify these symbols (in any order) as a quoted string after the data arguments. The following tables list the symbols you use to define the line style, color, and marker. If you specify a marker, but no a linesytle, MATLAB plots only the markers. ), colored red ( r), and places circular markers ( o) at the data points.

Plots y versus x using a dash-dot line (. Here is how you access the help information for the date command. Doing this will then present you with some text describing the MATLAB command or function you typed. LineSpec (MATLAB Function Reference) MATLAB Function Referenceĭescription LineSpec is an argument to plotting functions, such as plot, that defines three components used to specify lines in MATLAB: The first is simply to type at the command prompt in the MATLAB command window 'help' followed by the name of the command or function for which you want help.
