PETSc version 3.16.5
Fix/Edit manual page

# PetscViewerDrawGetDrawAxis

Returns PetscDrawAxis object from PetscViewer object. This PetscDrawAxis object may then be used to perform graphics using PetscDrawAxisXXX() commands.

### Synopsis

    #include "petscdraw.h"
    #include "petscviewer.h"
    PetscErrorCode  PetscViewerDrawGetDrawAxis(PetscViewer viewer,PetscInt windownumber,PetscDrawAxis *drawaxis)

Collective on PetscViewer

### Input Parameters

| viewer | - the PetscViewer (created with PetscViewerDrawOpen()
| windownumber | - indicates which subwindow (usually 0)

### Output Parameter

| drawaxis | - the draw axis object

### See Also

PetscViewerDrawGetDraw(), PetscViewerDrawGetLG(), PetscViewerDrawOpen()

### Level

advanced

### Location

src/sys/classes/viewer/impls/draw/drawv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages