gnuplot, two y-ranges far apart

不问归期 提交于 2020-01-05 08:54:35

问题


Is it possible to plot two ranges which are far apart each other?

I mean, if I have a dataset like [ 1, 2, 3, 1001, 1001, 1003 ], can I draw a plot like this?

     |
1003 |     x
1002 |     x
1001 |     x
1000 |    
     |
=====================  omission
     |
   4 |
   3 |     x
   2 |     x
   1 |     x
     -------------

回答1:


You may want to check out this link: Gnuplot surprising - Broken axes graph in gnuplot. The author presents three examples of plotting a grqph with a broken x axis.




回答2:


Three helpful examples:

http://gnuplot-surprising.blogspot.com/2011/10/broken-axes-graph-in-gnuplot-3.html

http://www.phyast.pitt.edu/~zov1/gnuplot/html/broken.html

http://www.phyast.pitt.edu/~zov1/

It is not straightforward.



来源:https://stackoverflow.com/questions/7983895/gnuplot-two-y-ranges-far-apart

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!