plots marker and line