GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KDATA_HIST_INCREMENT(3) FreeBSD Library Functions Manual KDATA_HIST_INCREMENT(3)

kdata_hist_add kdata_hist_setmodify histogram data values

library “libkplot”

#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);

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).

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

kdata_hist_alloc(3), kplot(3)

January 30, 2015 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.