DrawLGGetAxis

Gets the axis context associated with a line graph. This is useful if one wants to change some axis property, such as labels, color, etc. The axis context should not be destroyed by the application code.

Synopsis

#include "petsc.h" 
int DrawLGGetAxis(DrawLG lg,DrawAxis *axis)
Not Collective, if DrawLG is parallel then DrawAxis is parallel

Input Parameter

lg -the line graph context

Output Parameter

axis -the axis context

Keywords

draw, line, graph, get, axis

Level:advanced
Location:src/sys/src/draw/utils/lg.c
Graphics (Draw) Index
Table of Contents