Andnot
Andnot

Reputation: 177

Matlab only has 4 line styles?

In the help of matlab, there are only 4 linestyles:

'- ' Solid line (default)

'--' Dashed line

':' Dotted line

'-. ' Dash-dot line

Can I plot curves in other styles?

Thanks for any suggestions!

Upvotes: 5

Views: 16576

Answers (1)

RexFuzzle
RexFuzzle

Reputation: 1432

The following also work:

.-.
-^
-o
-*
:*

This is not an exhaustive list.

You can also use 'LineWidth',10 to make lines thicker if that helps. The marker size can also be changed using the MarkerSize handle.

Upvotes: 4

Related Questions