Using ggplot2, can I insert a break in the axis?

后端 未结 7 1841
我寻月下人不归
我寻月下人不归 2020-11-22 03:27

I want to make a bar plot where one of the values is much bigger than all other values. Is there a way of having a discontinuous y-axis? My data is as follows:



        
相关标签:
7条回答
  • 2020-11-22 04:04

    No, not using ggplot. See the discussion in the thread at http://groups.google.com/group/ggplot2/browse_thread/thread/8d2acbfc59d2f247 where Hadley explains why it is not possible but gives a suggested alternative (faceted plots, one with all the data, one zoomed in a particular region).

    0 讨论(0)
提交回复
热议问题