JFreeChart如何直接在x轴上打印散点?
我尝试制作散点图,但数据点并不完全位于 (2,0) 坐标,并且仅部分可见。 该图像显示了 JFreeChart 生成的输出:
https://i.sstatic.net/oGpZW.png
但它应该是这样的(用 GIMP 制作):
https://i.sstatic.net/dqrnh.jpg
有人知道该怎么做吗?
感谢您的帮助!
I try to make a scatter chart but the data point is not exactly at the (2,0) coordinate and only partly visible.
The image shows the generated output from JFreeChart:
https://i.sstatic.net/oGpZW.png
But it should be like this (made with GIMP):
https://i.sstatic.net/dqrnh.jpg
Does anybody know how to do it?
thanks for any help!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于其他人来说,这是解决方案,它并不完全令我满意,但可以接受:
https://i .sstatic.net/70TbB.png
有趣的代码行是:
For anybody else, here is the solution, which didn't satisfy me completely but is acceptable:
https://i.sstatic.net/70TbB.png
The interesting lines of code to do so were: