:orphan:
# VecScatterView
Views a vector scatter context.
## Synopsis
```
#include "petscsf.h"
PetscErrorCode VecScatterView(VecScatter sf, PetscViewer viewer)
```
Collective
## Input Parameters
- ***sf -*** the scatter context
- ***viewer -*** the viewer for displaying the context
## See Also
[](sec_scatter), `VecScatter`, `PetscViewer`, `VecScatterViewFromOptions()`, `PetscObjectViewFromOptions()`, `VecScatterCreate()`
## Level
intermediate
## Location
src/vec/is/sf/interface/vscat.c
## Examples
src/dm/tutorials/ex14.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/sf/interface/vscat.c)
[Index of all PetscSF routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)