extractval
add linearplot