How can I remove lines connecting markers?

21 ビュー (過去 30 日間)
Pul
Pul 2021 年 11 月 19 日
編集済み: Pul 2021 年 11 月 25 日
Hello everyone,
I would like to remove the lines connecting markers and keeping just the markers (triangles,circles and asterisks). How can I do it?
Thank you.

採用された回答

Star Strider
Star Strider 2021 年 11 月 19 日
I am not certain what the problem actually is.
One option is instead of plotting lines (the default for the plot function), specify it to plot only the markers, for example —
plot(giulia_daily.Time(:,1),[giulia_daily.Var5(:,1) med], '.');
↑ ← SPECIFY MARKER TO PLOT ONLY THE MARKER WITHOUT CONNECTING LINES
See if that gives the desired result.
.
  8 件のコメント
Pul
Pul 2021 年 11 月 25 日
Okay, thank you!
Star Strider
Star Strider 2021 年 11 月 25 日
As always, my pleasure! .

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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