Searched refs:binRight (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/classes/draw/utils/ |
| H A D | hists.c | 308 …PetscReal xmin, xmax, ymin, ymax, *bins, *values, *weights, binSize, binLeft, binRight, maxHeigh… in PetscDrawHGDraw() local 377 binRight = xmax; in PetscDrawHGDraw() 378 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, bins[0], bcolor, bcolor, bcolor, bcolo… in PetscDrawHGDraw() 380 PetscCall(PetscDrawLine(draw, binRight, ymin, binRight, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 381 PetscCall(PetscDrawLine(draw, binLeft, bins[0], binRight, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 403 binRight = xmin + binSize * (i + 1); in PetscDrawHGDraw() 405 if ((values[p] >= binLeft) && (values[p] < binRight)) bins[i] += weights[p]; in PetscDrawHGDraw() 407 if ((i == numBins - 1) && (values[p] == binRight)) bins[i] += weights[p]; in PetscDrawHGDraw() 441 binRight = xmin + binSize * (i + 1); in PetscDrawHGDraw() 442 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, bins[i], bcolor, bcolor, bcolor, bcolo… in PetscDrawHGDraw() [all …]
|
| H A D | bars.c | 136 PetscReal xmin, xmax, ymin, ymax, *values, binLeft, binRight; in PetscDrawBarDraw() local 199 binRight = xmin + (PetscReal)i + 1; in PetscDrawBarDraw() 200 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, values[idx], bcolor, bcolor, bcolor, b… in PetscDrawBarDraw() 202 PetscCall(PetscDrawLine(draw, binRight, ymin, binRight, values[idx], PETSC_DRAW_BLACK)); in PetscDrawBarDraw() 203 PetscCall(PetscDrawLine(draw, binLeft, values[idx], binRight, values[idx], PETSC_DRAW_BLACK)); in PetscDrawBarDraw() 208 …PetscCall(PetscDrawStringCentered(draw, .5 * (binLeft + binRight), ymin - 1.5 * h, bcolor, labels[… in PetscDrawBarDraw()
|