DrawHGGetAxis

Gets the axis context associated with a histogram. 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 DrawHGGetAxis(DrawHG hist,DrawAxis *axis)
Not Collective (ignored except on processor 0 of DrawHG)

Input Parameter

hist -The histogram context

Output Parameter

axis -The axis context

Contributed by: Matthew Knepley

Keywords

draw, histogram, graph, get, axis

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