How to turn off line style and show only marker in legend for a fig file?

조회 수: 11 (최근 30일)
Sajid Sarwar
Sajid Sarwar 2022년 2월 20일
답변: Manish 2024년 11월 29일 11:38
I have an existing set of figures that I cannot quickly and easily regenerate the plots. I want show only markers and turn off the line style. The attached screnshot can explain my point clearly. I need to make legends like the attached screenshot using. I will be grateful for the help. fig file

답변 (1개)

Manish
Manish 2024년 11월 29일 11:38
Hi,
I understand that you want only the markers to be visible in your plot, without any line segments.
You can follow the below steps to do the same:
1) Open the .fig file in MATLAB.
2) Right-click on the plot you want to edit. A dialog box will appear. In this dialog box, select the "Line Style" option, and then choose "None."
Refer the image below for better understanding:
Hope this helps!

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by