diff options
author | joye <joye> | 2014-01-08 18:49:45 (GMT) |
---|---|---|
committer | joye <joye> | 2014-01-08 18:49:45 (GMT) |
commit | 28149cc169d7259ce89140897ee9856b825d4f02 (patch) | |
tree | ad32d41c7d8e75f566eaac2a6bff06137dea1f12 /src/bltGrAxis.C | |
parent | 5460714985c7f107f5a30d8bc116822fa62a8c58 (diff) | |
download | blt-28149cc169d7259ce89140897ee9856b825d4f02.zip blt-28149cc169d7259ce89140897ee9856b825d4f02.tar.gz blt-28149cc169d7259ce89140897ee9856b825d4f02.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrAxis.C')
-rw-r--r-- | src/bltGrAxis.C | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bltGrAxis.C b/src/bltGrAxis.C index bd98827..f318021 100644 --- a/src/bltGrAxis.C +++ b/src/bltGrAxis.C @@ -3659,10 +3659,10 @@ Blt_LayoutGraph(Graph *graphPtr) graphPtr->topMargin.height = top + graphPtr->inset; graphPtr->bottomMargin.height = bottom + graphPtr->inset; - graphPtr->vOffset = graphPtr->top + graphPtr->padTop; - graphPtr->vRange = plotHeight - PADDING(graphPtr->yPad); - graphPtr->hOffset = graphPtr->left + graphPtr->padLeft; - graphPtr->hRange = plotWidth - PADDING(graphPtr->xPad); + graphPtr->vOffset = graphPtr->top + graphPtr->yPad; + graphPtr->vRange = plotHeight - 2*graphPtr->yPad; + graphPtr->hOffset = graphPtr->left + graphPtr->xPad; + graphPtr->hRange = plotWidth - 2*graphPtr->xPad; if (graphPtr->vRange < 1) { graphPtr->vRange = 1; @@ -5268,8 +5268,8 @@ Blt_DrawAxisLimits(Graph *graphPtr, Drawable drawable) int vMin, hMin, vMax, hMax; #define SPACING 8 - vMin = vMax = graphPtr->left + graphPtr->padLeft + 2; - hMin = hMax = graphPtr->bottom - graphPtr->padBottom - 2; /* Offsets */ + vMin = vMax = graphPtr->left + graphPtr->xPad + 2; + hMin = hMax = graphPtr->bottom - graphPtr->yPad - 2; /* Offsets */ for (hPtr = Blt_FirstHashEntry(&graphPtr->axes.table, &cursor); hPtr != NULL; hPtr = Blt_NextHashEntry(&cursor)) { @@ -5346,8 +5346,8 @@ Blt_AxisLimitsToPostScript(Graph *graphPtr, Blt_Ps ps) char string[200]; #define SPACING 8 - vMin = vMax = graphPtr->left + graphPtr->padLeft + 2; - hMin = hMax = graphPtr->bottom - graphPtr->padBottom - 2; /* Offsets */ + vMin = vMax = graphPtr->left + graphPtr->xPad + 2; + hMin = hMax = graphPtr->bottom - graphPtr->yPad - 2; /* Offsets */ for (hPtr = Blt_FirstHashEntry(&graphPtr->axes.table, &cursor); hPtr != NULL; hPtr = Blt_NextHashEntry(&cursor)) { Axis *axisPtr; |