Below is a list of options for tree plots (itree
).
option | description | default | |
width | width of plot in pixels | 1000 |
|
height | height of plot in pixels | 600 |
|
margin | margins in pixels (left, top, right, bottom, inner) | list(left=60, top=40, right=100, bottom=40, inner=10) |
|
axispos | position of axis labels in pixels (xtitle, ytitle, xlabel, ylabel) | list(xtitle=25, ytitle=30, xlabel=5, ylabel=5) |
|
titlepos | position of plot title in pixels | 20 |
|
ylim | y-axis limits | NULL |
|
nyticks | no. ticks on y-axis | 5 |
|
yticks | vector of tick positions on y-axis |
NULL |
|
tickwidth | width of tick marks at markers, in pixels | 10 |
|
rectcolor | color of background rectangle |
'#E6E6E6' |
|
linecolor | color of lines | 'slateblue' |
|
linecolorhilit | color of lines when highlighted |
'Orchid' |
|
linewidth | width of lines | 3 |
|
title | title for plot | '' |
|
xlab | x-axis label | '' |
|
ylab | y-axis label | '' |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.