Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KDATA_HIST_INCREMENT(3)	    Library Functions Manual   KDATA_HIST_INCREMENT(3)

NAME
       kdata_hist_add kdata_hist_set --	modify histogram data values

LIBRARY
       library "libkplot"

SYNOPSIS
       #include	<cairo.h>
       #include	<kplot.h>

       int
       kdata_hist_add(struct kdata *d, double x, double	y);

       int
       kdata_hist_set(struct kdata *d, double x, double	y);

DESCRIPTION
       The  kdata_hist_add  and	 kdata_hist_set	 set  or add y to the position
       mapped from x after checking that x  lies  in  the  range  provided  to
       kdata_hist_alloc(3).

RETURN VALUES
       kdata_hist_add  and kdata_hist_set return 0 if x	is outside of the his-
       togram range, the source	was not	created	with  kdata_hist_alloc(3),  or
       if dependent data sources fail.	Otherwise it returns non-zero.

SEE ALSO
       kdata_hist_alloc(3), kplot(3)

FreeBSD	ports 15.quarterly     January 30, 2015	       KDATA_HIST_INCREMENT(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kdata_hist_add&sektion=3&manpath=FreeBSD+Ports+15.0.quarterly>

home | help