How can I remove lines connecting markers?

조회 수: 17 (최근 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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by