Just to follow up on this, here is an example using plotTree.barplot
with xlim set using args.barplot:
http://blog.phytools.org/2016/07/more-on-showing-barplot-next-to-plotted.html.
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 10/17/2016 10:43 AM, Liam Revell wrote:
Hi Marian.
You should be able to do it with the phytools function plotTree.barplot using
the argument args.barplot, supplied as a list containing the arguments you want
to pass to barplot. Not sure if this is on CRAN yet so you might have to
install from GitHub.
Let me know if you need help.
--
Liam J. Revell, Associate Professor of Biology
University of Massachussetts Boston
email: liam.rev...@umb.edu
web: http://faculty.umb.edu/liam.revell
Sent from Outlook Mail for Windows 10 phone
From: Marian Schubert<mailto:marian.schub...@nmbu.no>
Sent: Monday, October 17, 2016 9:12 AM
To: r-sig-phylo@r-project.org<mailto:r-sig-phylo@r-project.org>
Subject: [R-sig-phylo] Truncate x-axis in phydataplot barplots
Hey APE users,
I was wondering if there is a possibility to limit the dimensions of the x-axis
for barplots created with phydataplot(). With other words, in barplot() I have
the option to set xlim, how can I achieve the equivalent in phydataplot()?
Cheers and thanks in advance!
marian
_______________________________________________
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/
_______________________________________________
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/