Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Matlab only has 4 line styles?

Tags:

plot

matlab

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!

like image 210
Andnot Avatar asked Sep 28 '22 22:09

Andnot


1 Answers

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.

like image 180
RexFuzzle Avatar answered Nov 26 '22 14:11

RexFuzzle