:orphan:
# DMPlexVecView1D
Plot many 1D solutions on the same line graph 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexVecView1D(DM dm, PetscInt n, Vec u[], PetscViewer viewer)
```
Collective


## Input Parameters

- ***dm -*** The `DMPLEX` object
- ***n  -*** The number of vectors
- ***u  -*** The array of local vectors
- ***viewer -*** The `PetscViewer`





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `VecViewFromOptions()`, `VecView()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexVecView1D">src/dm/impls/plex/plex.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex36.c.html">src/snes/tutorials/ex36.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.c)


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