Customizing a Plot: Line Types, Color, Marker Types:
Plots can be completed in the Command Window, if they are really simple. Though, at many times it is desirable to customize the plot with titles, labels, and such, so it makes more sense to do this in a script. By using the help function, plot will show many options for the line types, colors, and so forth. In the script plotonepoint, former, the string 'r*' identified a red star for the point type. The possible colors are as shown below:
b blue
c cyan
g green
k black
m magenta
r red
y yellow
The markers or plot symbols which can be used are:
o circle
d diamond
h hexagram
p pentagram
+ plus
. point
s square
* star
v down
triangle
< left
triangle
> right
triangle
^ up triangle
x x-mark
The Line types can also be identified by the following:
-- dashed
-. dash dot
: dotted
- solid