Re: [R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread Jacob Berv
Aha! Success! Thanks guys!
Cheers,
Jake

> On Jul 7, 2016, at 5:18 PM, GRAHAM JAMES SLATER  wrote:
> 
> try:
> 
> par(xaxt="n",yaxt="n")
> phenogram(tree,x)
> par(xaxt="s",yaxt="s")
> axis(1)
> 
> Graham
> --
> Graham J. Slater
> Assistant Professor
> Department of the Geophysical Sciences
> University of Chicago
> 5734 S. Ellis Avenue
> Chicago, IL 60637 USA
> 
> Tel: (773) 702-0249
> email: gsla...@uchicago.edu 
> www.fourdimensionalbiology.com 
> On Thu, Jul 7, 2016 at 4:10 PM, Jacob Berv  > wrote:
> My ugly solution is to comment out lines 195 and 196 in the phenogram code.
> Jake
> 
> > On Jul 7, 2016, at 5:06 PM, Jacob Berv  > > wrote:
> >
> > Cool - that works - but now I can’t use axis() to add custom axes…
> > Jake
> >
> >> On Jul 7, 2016, at 5:03 PM, Liam J. Revell  >>   >> >> wrote:
> >>
> >> par(xaxt="n",yaxt="n")
> >
> 
> 
> [[alternative HTML version deleted]]
> 
> ___
> R-sig-phylo mailing list - R-sig-phylo@r-project.org 
> 
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo 
> 
> Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/ 
> 


[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Re: [R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread GRAHAM JAMES SLATER
try:

par(xaxt="n",yaxt="n")
phenogram(tree,x)
par(xaxt="s",yaxt="s")
axis(1)

Graham
--
Graham J. Slater
Assistant Professor
Department of the Geophysical Sciences
University of Chicago
5734 S. Ellis Avenue
Chicago, IL 60637 USA

Tel: (773) 702-0249
email: gsla...@uchicago.edu
www.fourdimensionalbiology.com
On Thu, Jul 7, 2016 at 4:10 PM, Jacob Berv 
wrote:

> My ugly solution is to comment out lines 195 and 196 in the phenogram code.
> Jake
>
> > On Jul 7, 2016, at 5:06 PM, Jacob Berv 
> wrote:
> >
> > Cool - that works - but now I can’t use axis() to add custom axes…
> > Jake
> >
> >> On Jul 7, 2016, at 5:03 PM, Liam J. Revell  > wrote:
> >>
> >> par(xaxt="n",yaxt="n")
> >
>
>
> [[alternative HTML version deleted]]
>
> ___
> R-sig-phylo mailing list - R-sig-phylo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
> Searchable archive at
> http://www.mail-archive.com/r-sig-phylo@r-project.org/
>

[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Re: [R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread Jacob Berv
My ugly solution is to comment out lines 195 and 196 in the phenogram code.
Jake

> On Jul 7, 2016, at 5:06 PM, Jacob Berv  wrote:
> 
> Cool - that works - but now I can’t use axis() to add custom axes…
> Jake
> 
>> On Jul 7, 2016, at 5:03 PM, Liam J. Revell > > wrote:
>> 
>> par(xaxt="n",yaxt="n")
> 


[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Re: [R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread Jacob Berv
Cool - that works - but now I can’t use axis() to add custom axes…
Jake

> On Jul 7, 2016, at 5:03 PM, Liam J. Revell  wrote:
> 
> par(xaxt="n",yaxt="n")


[[alternative HTML version deleted]]

___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Re: [R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread Liam J. Revell

Hi Jacob.

You can use par, e.g.:

par(xaxt="n",yaxt="n")
phenogram(tree,x)

All the best, Liam

Liam J. Revell, Associate Professor of Biology
University of Massachusetts Boston
web: http://faculty.umb.edu/liam.revell/
email: liam.rev...@umb.edu
blog: http://blog.phytools.org

On 7/7/2016 4:51 PM, Jacob Berv wrote:

Hi all,
Does anyone know if there is an easy way to suppress the axes in phytools 
phenogram() without altering the code (which is easy to do, but inconvenient 
when using the function in multiple different contexts)? yaxt=’n’ and xaxt=’n’ 
have no effect.

Best,
Jacob Berv
___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/



___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

[R-sig-phylo] suppress axes in phenogram()

2016-07-07 Thread Jacob Berv
Hi all,
Does anyone know if there is an easy way to suppress the axes in phytools 
phenogram() without altering the code (which is easy to do, but inconvenient 
when using the function in multiple different contexts)? yaxt=’n’ and xaxt=’n’ 
have no effect.

Best,
Jacob Berv
___
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/