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

11 views (last 30 days)
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

Answers (1)

Manish
Manish on 29 Nov 2024 at 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!

Community Treasure Hunt

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

Start Hunting!