Hi, Has anyone ever created scale breaks in R something like what is shown here in the section, Use a Scale Break http://www.r-bloggers.com/graphing-highly-skewed-data/ Thanks -- Shane [[alternative HTML version deleted]]
On Wed, Aug 28, 2013 at 12:52 PM, Shane Carey <careyshan at gmail.com> wrote:> Hi, > > Has anyone ever created scale breaks in R something like what is shown here > in the section, Use a Scale Break, http://www.r-bloggers.com/graphing-highly-skewed-data/Yes. Using my rudimentary telepathic powers, I suppose that you also want to know how to do it, not just whether it has been done. In that case, perhaps you should look at axis.break() from the plotrix package. Sarah -- Sarah Goslee http://www.functionaldiversity.org
On 08/29/2013 02:52 AM, Shane Carey wrote:> Hi, > > Has anyone ever created scale breaks in R something like what is shown here > in the section, > Use a Scale Break > > http://www.r-bloggers.com/graphing-highly-skewed-data/ > > Thanks >Hi Shane, As Sarah answered, axis.break in the plotrix package is a start. gap.barplot (also in plotrix) does the whole thing. If they won't give you lunch until you do it that way, like Sarah I say, "Go for it" Jim
I want to use it, but just show a slash on the yaxis rather than two horizontal lines. Thanks On Saturday, August 31, 2013, Jim Lemon wrote:> On 08/30/2013 11:53 PM, Shane Carey wrote: > >> Hi Jim et al, >> >> I want to remove the upper bounding box, >> I did this by >> #box() >> >> in the gap.plot function. It still leaves me with two horizontal lines. >> I would like to remove them also, where are the created within the >> function? Thanks, this is great, exactly what I need. >> > > Hi Shane, > The two horizontal lines are the "gap" axis break. On lines 96-98 of the > function (my source code line numbering) you will find the calls to > axis.break. If you are not using this, there may not be much point in using > gap.boxplot. > > Jim >-- Shane [[alternative HTML version deleted]]