Additional line types beyond -, --, -., and : ?

5 views (last 30 days)
Is there a way to get additional line types beyond the basic 4 of solid, dashed, dash-dot, and dot? Dot comes out very small in some graphs, and if you need to provide someone a graph that will be copied in black and white, you really have only the first three options!
Thank you.
Doug Anderson

Accepted Answer

Walter Roberson
Walter Roberson on 26 Aug 2016
See the plt() File Exchange contribution.

More Answers (1)

KSSV
KSSV on 26 Aug 2016
Edited: KSSV on 26 Aug 2016
What are the additional line types you are expecting?
Yes it is very much possible...you have to define your marker..and put this marker every time at the point you want to plot..
But the MATLAB line options given are more then sufficient. If you feel the markers are coming out small in graphs, there is an option of increasing it's size.
  1 Comment
Douglas Anderson
Douglas Anderson on 26 Aug 2016
Thank you for the comments. I was hoping for more dash-dot, dash-double-dot, etc. I think that the plt() function Walter Roberson mentions may do the trick.

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!