DrawSPGetAxis

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 DrawSPGetAxis(DrawSP sp,DrawAxis *axis)
Not Collective (except DrawAxis can only be used on processor 0 of DrawSP)

Input Parameter

sp -the line graph context

Output Parameter

axis -the axis context

Keywords

draw, line, graph, get, axis

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