Problem with print command
1 回表示 (過去 30 日間)
古いコメントを表示
Brynjulf Owren
2021 年 1 月 28 日
コメント済み: Bjorn Gustavsson
2021 年 1 月 28 日
In a script for generating a 3d plot, using surf, text, plot3, annotation etc, I mark a point with
plot3(x1,y1,z1,'k.','MarkerSize',20);
It appears as a bullet of the expected size in the figure window. But when I subsequently do
print -dpng 'translate.png'
and open translate.png, the bullet appears in a smaller (probably default) size, really too small to see. Is this a bug in Matlab or am I doing something wrong. Is there some known way to fix the problem?
3 件のコメント
Bjorn Gustavsson
2021 年 1 月 28 日
This might also be version/OS-dependent, when I tried your example (V2020a/Ubuntu) it worked OK...
採用された回答
Bjorn Gustavsson
2021 年 1 月 28 日
Perhaps using scatter3 can be a QD workaround? It would be a bit fiddlier, but it might work, I have the impression that those markers are rendered differently than the '.'-markers.
HTH
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Identification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!