for direct linear plot