Below is a list of options for scatter plots (iscatter
).
option | description | default | |
height | height of plot in pixels | 500 |
|
width | width of plot in pixels | 800 |
|
title | title for plot | '' |
|
margin | margins in pixels (left, top, right, bottom, inner) | list(left=60, top=40, right=40, bottom=40, inner=5) |
|
xlab | x-axis label | 'X' |
|
ylab | y-axis label | 'Y' |
|
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 |
|
xlim | x-axis limits | NULL |
|
xticks | vector of tick positions on x-axis |
NULL |
|
nxticks | number ticks on x-axis | 5 |
|
ylim | y-axis limits | NULL |
|
yticks | vector of tick positions on y-axis |
NULL |
|
nyticks | number ticks on y-axis | 5 |
|
rectcolor | color of background rectangle |
'#E6E6E6' |
|
pointcolor | colors for points | NULL |
|
pointsize | size of points in pixels | 3 |
|
pointstroke | color of outer circle for points |
'black' |
|
rotate_ylab | whether to rotate the y-axis label |
NULL |
|
xNA | treatment of missing values (handle=T/F, force=T/F, width, gap) | list(handle=true, force=false, width=15, gap=10) |
|
yNA | treatment of missing values (handle=T/F, force=T/F, width, gap) | list(handle=true, force=false, width=15, gap=10) |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.