Octave 中的 Markerfacecolor 不起作用?
我正在尝试绘制点的集合以及几何形状,效果很好。然而,我想要更大的点作为点。显然,标准八度点(“.”)无法调整大小。
我想改用圆形标记,它可以调整大小,但我似乎无法设法“填充”它们。
我的代码: plot(A(:,1),A(:,2),"1o","markersize",5,"markerfacecolor","auto",hull(:,1),hull(: ,2),"b",roster(:,1),roster(:,2),".0");
另外,有没有办法让网格点出现而不必处理网格线,或无需生成一个矩阵并绘制它?
I'm trying to plot a collection of points as well as a geometrical shape, which is working fine. However, i wanted bigger dots for the points. The standard octave dot ('.') cannot be resized, apparently.
I thought of using the circle marker instead, which can be resized, but i can't seem to manage to "fill" them.
My code: plot(A(:,1),A(:,2),"1o","markersize",5,"markerfacecolor","auto",hull(:,1),hull(:,2),"b",roster(:,1),roster(:,2),".0");
Also, is there a way to make the grid points appear without having to either cope with grid lines, or without having to generate a matrix and plot it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这似乎是一个 八度图错误 函数从未得到修复。
It seems to be a bug with octave plot function that never got fixed.
我在使用 Octave MinGW 构建时遇到了同样的问题。然后我在 Cygwin 构建上切换到 Octave,并且我检查的所有绘图选项都工作正常。要使用绘图,您还需要将 XWin X Server 安装到 Cygwin。
I had the same issue with Octave MinGW build. Then I switched to Octave on Cygwin build, and all checked by me plotting options were working fine. For using plotting you will also need to install XWin X Server to Cygwin.