フィルターのクリア

how to put long dash as line style in a plot

8 ビュー (過去 30 日間)
masih
masih 2016 年 1 月 29 日
回答済み: Star Strider 2016 年 1 月 29 日
how to put long dash as line style in a plot

回答 (1 件)

Star Strider
Star Strider 2016 年 1 月 29 日
Different plots sometimes require different specifications for 'LineStyle' and 'Marker'.
The long dash is the '--' 'LineStyle'.
For example:
x = linspace(0, 2*pi, 250);
y = sin(x);
figure(1)
plot(x, y, '--')
grid

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by