Marker edge thickness changes when saved
3 次查看(过去 30 天)
显示 更早的评论
I am able to change the thickness of my open 'o' markers in my scatter plot. However, when I save the image using print (so I can set the resolution), the marker thickness changes and comes out very thin. When I save through the file>save as menu, it remains thick, but then I can't save in high enough resolution. Any idea on how to work around this issue?
Code I'm using in the figure:
model_RMSD_scat = scatter(x(id_xy(:, 1), 1), y(id_xy(:, 1), 1), 200, BT_RMSD_model_mean(:, 1), 'LineWidth', 5);
-'LineWidth' sets the thickness of the open circle (default symbol).
Code to save figure:
print([fig_dir fig_name], '-dtiff', '-r600');
3 个评论
Ankit
2019-10-7
have you checked this FEX: https://de.mathworks.com/matlabcentral/fileexchange/23629-export_fig
回答(1 个)
Jyotsna Talluri
2019-10-1
As the resolution changes, size of figure changes due to which the marker size changes. There is a bug in it and it is fixed in R2019b release . So upgrade your version of MATLAB to latest release
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visual Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!