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

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.

답변 (1개)

Mischa Kim
Mischa Kim 2014년 2월 16일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2014년 2월 16일

답변:

2014년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by