How do I plot a line with both thick and thin dashes?

5 Ansichten (letzte 30 Tage)
Christopher
Christopher am 16 Feb. 2014
Beantwortet: Mischa Kim am 16 Feb. 2014
I need to recreate a number of plots for an assignment. One of the plots shows a basic dashed line with thick horizontal dashes. The thing is, this plot also shows thin vertical lines between the thicker horizontal dashes. (Almost like a '.-' plot but with '|' instead of '.'). I know how to change the line width and style as well as the marker but I have never seen anything like this nor do I know how to recreate it. Any insight is appreciated.

Antworten (1)

Mischa Kim
Mischa Kim am 16 Feb. 2014
Christopher, could it be the plot grid you are talking about? You can turn it on/off using grid on and grid off. If it is not please attach a screen shot, that'd make it a bit easier.

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by