cookbook test plot