【发布时间】:2018-04-23 16:03:56
【问题描述】:
我正在尝试制作一个比用于网格的线更粗的框架/轴线的图形。我尝试用粗线绘制一个矩形来模仿图框。这几乎可以完美运行,但右下角效果不佳。线条不太好(见附件)。
这里有一个例子来说明问题:
plot (rand(1,5),'-o' , 'Linewidth',2); % plot some data
grid on % show grid lines (thin)
r = axis(); % find the coordinates of the figure frame
rectangle ( 'Position',[r(1) r(3) r(2)-r(1) r(4)-r(3)] , 'Linewidth',5 ) % plot the figure frame using thick lines
print ('test.png') % save to file
任何想法如何使这项工作?
【问题讨论】:
-
看起来你安装的gl2ps没有
setlinecap到2。你有哪个gl2ps版本? -
我不知道。我怎么知道?