DrawHGSetColor

Sets the color the bars will be drawn with.

Synopsis

#include "petsc.h" 
int DrawHGSetColor(DrawHG hist,int color)
Not Collective (ignored except on processor 0 of DrawHG)

Input Parameters

hist - The histogram context
color - one of the colors defined in draw.h or DRAW_ROTATE to make each bar a different color

Keywords

draw, histogram, graph, color

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