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

4 次查看(过去 30 天)
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
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