- Open the fig file in MATLAB
- Click on a marker to select them
- Open the property inspector
- Expand the Markers section and modify the value in the MarkerSize field.
How to Change Marker Size in a .fig MATLAB File?
199 次查看(过去 30 天)
显示 更早的评论
Hello dear all
I want to know how to change the marker size for a .fig file if that is possible. Note that I only have the .fig file and I don't have access to the X and Y datapoints to use the command scatter(X,Y, 'MarkerSize',10). Is there any way to change the marker size/color by using the command window, or the figure configuration settings?
I appreciate your response in advance
Regards,
0 个评论
采纳的回答
Cris LaPierre
2020-8-20
5 个评论
Cris LaPierre
2020-8-21
编辑:Cris LaPierre
2020-8-21
The markers are a property of the Scatter object. For this plot, it is actually listed as "SizeData" in the Color and Size Data section. Click on one of the markers to open the scatter properties.
You can change their size programmatically as well. With this figure set as the current figure, run the following code.
h=findobj(gcf,'Type','scatter')
h.SizeData = 50;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!