:orphan:
# TaoDrawStepMonitor
Plots the step direction at each iteration of `TaoSolve()` 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoDrawStepMonitor(Tao tao, void *ctx)
```
Collective


## Input Parameters

- ***tao -*** the `Tao` context
- ***ctx -*** the `PetscViewer` context



## Options Database Key

- ***-tao_draw_step -*** draw the step direction at each iteration





## See Also
 [](ch_tao), `Tao`, `TaoSetMonitor()`, `TaoDrawSolutionMonitor`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/interface/taosolver.c.html#TaoDrawStepMonitor">src/tao/interface/taosolver.c</A>


---
[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)  
