element_line2 for drawing shorten axis lines
element_line2(
colour = NULL,
size = NULL,
linetype = NULL,
lineend = NULL,
color = NULL,
arrow = NULL,
inherit.blank = FALSE,
id,
xlength = 0.3,
ylength = 0.3,
...
)element_line2 object, which is a tailored element_line object
line colour
line size in pts
line type
line end style (round, butt, square)
aliase to colour
arrow specification, as created by 'grid::arrow()'
whether inherit 'element_blank'
1 or 2, 1 for axis.line.x.bottom and 2 for axis.line.y.left, only these two axes supported
length of x axis
length of y axis
additional parameters
Guangchuang Yu