# TSMonitorSPEigCtxDestroy
Destroys a scatter plot context that was created with `TSMonitorSPEigCtxCreate()`. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSMonitorSPEigCtxDestroy(TSMonitorSPEigCtx *ctx)
```
Collective


## Input Parameter

- ***ctx -*** the monitor context





## Note
Should be passed to `TSMonitorSet()` along with `TSMonitorSPEig()` an the context created with `TSMonitorSPEigCtxCreate()`


## See Also
 [](chapter_ts), `TSMonitorSPEigCtxCreate()`, `TSMonitorSet()`, `TSMonitorSPEig();`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/tseig.c.html#TSMonitorSPEigCtxDestroy">src/ts/interface/tseig.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/tseig.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
