简体   繁体   English

gonum/plot 中单个图像中的多个图

[英]Multiple plots in single image in gonum/plot

Is it possible to combine multiple plots in a single image in gonum/plot?是否可以在 gonum/plot 的单个图像中组合多个图? They should have their own axes.他们应该有自己的轴。 Is it possible to stack them vertically, horizontally or probably in a grid?是否可以垂直、水平或可能在网格中堆叠它们?

In matplotlib it would look like this.在 matplotlib 中,它看起来像这样。 子图

You can do this using plot.Align .您可以使用plot.Align执行此操作。

Also have a look at the example code I posted to your issue Multiple line plots sharing abscissas axis in gonum/plot .另请查看我发布到您的问题多线图共享 gonum/plot 中的横坐标轴的示例代码。 The code is applicable to this issue as well.该代码也适用于这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM