# PetscDrawLGCreate

Creates a line graph data structure.

### Synopsis

    #include "petsc.h"
    PetscErrorCode PETSC_DLLEXPORT PetscDrawLGCreate(PetscDraw draw,int dim,PetscDrawLG *outctx)

Collective over PetscDraw

### Input Parameters

| draw | - the window where the graph will be made.
| dim | - the number of line cures which will be drawn

### Output Parameters

outctx -the line graph context

### See Also

PetscDrawLGDestroy()

Level:intermediate
Location:src/sys/src/draw/utils/lg.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages