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

7 ビュー (過去 30 日間)
Sajid Sarwar
Sajid Sarwar 2022 年 2 月 20 日
回答済み: Manish 2024 年 11 月 29 日
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 Center および File ExchangeLegend についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by