Home
last modified time | relevance | path

Searched refs:binLeft (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/classes/draw/utils/
H A Dhists.c308 …PetscReal xmin, xmax, ymin, ymax, *bins, *values, *weights, binSize, binLeft, binRight, maxHeigh… in PetscDrawHGDraw() local
376 binLeft = xmin; in PetscDrawHGDraw()
378 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, bins[0], bcolor, bcolor, bcolor, bcolo… in PetscDrawHGDraw()
379 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw()
381 PetscCall(PetscDrawLine(draw, binLeft, bins[0], binRight, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw()
402 binLeft = xmin + binSize * i; in PetscDrawHGDraw()
405 if ((values[p] >= binLeft) && (values[p] < binRight)) bins[i] += weights[p]; in PetscDrawHGDraw()
440 binLeft = xmin + binSize * i; in PetscDrawHGDraw()
442 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, bins[i], bcolor, bcolor, bcolor, bcolo… in PetscDrawHGDraw()
443 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, bins[i], PETSC_DRAW_BLACK)); in PetscDrawHGDraw()
[all …]
H A Dbars.c136 PetscReal xmin, xmax, ymin, ymax, *values, binLeft, binRight; in PetscDrawBarDraw() local
198 binLeft = xmin + (PetscReal)i; in PetscDrawBarDraw()
200 …PetscCall(PetscDrawRectangle(draw, binLeft, ymin, binRight, values[idx], bcolor, bcolor, bcolor, b… in PetscDrawBarDraw()
201 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, 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()