plot doc