Add more line styles and allow customized line styles
23 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Feng
am 19 Okt. 2023
Kommentiert: Marco Riani
am 17 Mai 2025
Currently, matlab only supports 5 line styles (-,-.,--,:,none). And the dash-dot -. and dotted : lines are poor and look like a solid line. There is no neat way to have more line styles without influencing other elements, such as the legend, in the figure. I am wondering why matlab has never provided more line options, such as long dashed, dash-dot-dot, wavy lines, etc. Besides, it would be very nice if we can easily customize our own line styles, like the python matplotlib (https://matplotlib.org/stable/gallery/lines_bars_and_markers/linestyles.html). Adding these functions would not be so difficult for mathworks but will certainly make matlab more powerful in plotting figures. It will also make matlab more competitive. I do not see any reason not to add these features. Therefore, I strongly suggest mathworks to add these changes to matlab in the next version.
2 Kommentare
Stephen23
am 19 Okt. 2023
"Therefore, I strongly suggest mathworks to add these changes to matlab in the next version."
This is a forum of random volunteers, we are not TMW.
If you want TMW to make changes to MATLAB then make an enhancement request.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Performance 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!