:orphan: # TaoDrawSolutionMonitor Plots the solution at each iteration of `TaoSolve()` ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoDrawSolutionMonitor(Tao tao, void *ctx) ``` Collective ## Input Parameters - ***tao -*** the `Tao` context - ***ctx -*** `TaoMonitorDraw` context ## Options Database Key - ***-tao_draw_solution -*** draw the solution at each iteration ## See Also [](ch_tao), `Tao`, `TaoSolutionMonitor()`, `TaoSetMonitor()`, `TaoDrawGradientMonitor`, `TaoMonitorDraw` ## Level advanced ## Location src/tao/interface/taosolver.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)