使用哪种多轴、多比例绘图工具?

发布于 2024-08-15 19:25:06 字数 730 浏览 3 评论 0原文

我正在寻找能够使用多个不同比例的垂直轴的绘图工具,例如:

替代文字
(来源:mathworks.com

目标是在同一个图中绘制具有不同范围的多个时间序列。例如,我可以:

  • 时间序列 1,范围 [-1, 1]
  • 时间序列 2,范围 [-10, +10]
  • 时间序列 3,范围 [0, 1500]
  • 时间序列 4,范围 [0.5, 0.9]

理想情况下,我可以在自己的轴上以自己的范围绘制每个时间序列,如图所示。

您知道哪些工具或库可以做到这一点?

注意:这个问题与这个相关< /a>,但我正在寻找比 Matlab 更多的可能性。

I am looking for plotting tools capable of using more than one or two vertical axes with different scales, like for instance:

alt text
(source: mathworks.com)

The goal is to plot several time series with different ranges in a same plot. For instance, I could have:

  • Time series 1 with range [-1, 1]
  • Time series 2 with range [-10, +10]
  • Time series 3 with range [0, 1500]
  • Time series 4 with range [0.5, 0.9]

Ideally I could plot each time series in its own axis with its own range, as shown in the image.

Which tools or libraries do you know that can do this?

Note: this question is related to this one, but I'm looking for more possibilities than Matlab.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(7

梦幻的心爱 2024-08-22 19:25:06

Chaco 可以做到这一点。请参阅以下示例:

堆积轴图:来源 < a href="http://www.enthought.com/~pwang/chaco/stacked_axes.png" rel="noreferrer">堆叠轴图的屏幕截图 http://www.enthought.com/~pwang/chaco/stacked_axes .png

多 Y 绘图(在绘图框架上放置多个轴):来源 多个 y 轴图 http 的屏幕截图://www.enthought.com/~pwang/chaco/multi-y.png

给我一枪 2024-08-22 19:25:06

您可以在 R 中执行此操作。有关示例,请参阅此 R-wiki 页面

使用 doubleYScale 函数也可以非常简单,如 在这些示例中

You can do this in R. See this R-wiki page for an example.

This can also be very easy using the doubleYScale function, as in these examples.

假扮的天使 2024-08-22 19:25:06

根据 GNU 图,每个 GNU 图上最多可以有 最多 2 个 axii图表。

According to the GNU plot, you can have upto 2 axii on GNU plot per chart.

神仙妹妹 2024-08-22 19:25:06

很确定你可以在 matplotlib 中执行此操作,但

维基百科页面上有很多链接失败对于其他绘图库。

Pretty sure you could do this in matplotlib

Failing that there are a lot of links on that wikipedia page for other plotting libraries.

风情万种。 2024-08-22 19:25:06

matlab 可以做到这一点

matlab can do this

南烟 2024-08-22 19:25:06

不确定这是否是您想要的,但 ZedGraph 支持多个轴。它是一个 .net 组件,因此您必须编写一些代码来获取其中的数据,但它非常易于使用。

not sure if this what you want, but ZedGraph supports multiple axes. it's a .net component, so you'd have to write some code to get the data in there, but it's very easy to use.

不乱于心 2024-08-22 19:25:06

MathGL 可以使用多个轴进行绘图(请参阅此示例)。它是 GPL(核心为 LGPL)库。

MathGL can plot with multiple axis (see this sample). It is GPL (LGPL for core) library.

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