Octave 中的 Markerfacecolor 不起作用?

发布于 2024-12-09 10:21:30 字数 298 浏览 0 评论 0原文

我正在尝试绘制点的集合以及几何形状,效果很好。然而,我想要更大的点作为点。显然,标准八度点(“.”)无法调整大小。

我想改用圆形标记,它可以调整大小,但我似乎无法设法“填充”它们。

我的代码: 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

忆离笙 2024-12-16 10:21:30

这似乎是一个 八度图错误 函数从未得到修复。

It seems to be a bug with octave plot function that never got fixed.

孤独岁月 2024-12-16 10:21:30

我在使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文