Displaying 4 results from an estimated 4 matches for "ylinebias".
2011 Mar 02
0
axis, title & padj
...abels are pushed into the tic-marks, while the y-axis labels look fine.
A more extreme example:
dev.new()
par(mex=.1, mar=c(10,10,10,10))
plot(1:10)
Tracking this down in the code, this effect appears to be arising from:
1) GMtext in graphics.c adjusts the margin line coordinate using
dev->yLineBias. After commenting out these adjustments, the x-axis text
is clearly shifted up (i.e. the bottom of the text is aligned at the
specified margin line) while the y-axis text is shifted left (i.e. the
bottom of the text is still aligned with the specified margin line).
2) This observation lead m...
2005 Apr 02
2
Building new graphic device drivers with g++
...eturn FALSE;
}
/*
* Device physical characteristics
*/
dev->left = 0;
dev->right = 1000;
dev->bottom = 0;
dev->top = 1000;
dev->cra[0] = 10;
dev->cra[1] = 10;
dev->xCharOffset = 0.4900;
dev->yCharOffset = 0.3333;
dev->yLineBias = 0.1;
dev->ipr[0] = 1.0/72;
dev->ipr[1] = 1.0/72;
/*
* Device capabilities
*/
dev->canResizePlot= FALSE;
dev->canChangeFont= FALSE;
dev->canRotateText= TRUE;
dev->canResizeText= TRUE;
dev->canClip = TRUE;
dev->canHAdj = 2;...
2011 Oct 31
0
R 2.14.0 is released
...must have a namespace, and one is created on
installation if not supplied in the sources. This means that any
package without a namespace must be re-installed under this
version of R (but previously-installed data-only packages without
R code can still be used).
o The yLineBias of the X11() and windows() families of devices has
been changed from 0.1 to 0.2: this changes slightly the vertical
positioning of text in the margins (including axis annotations).
This is mainly for consistency with other devices such as
quartz() and pdf(). (Wish of PR#145...
2011 Oct 31
0
R 2.14.0 is released
...must have a namespace, and one is created on
installation if not supplied in the sources. This means that any
package without a namespace must be re-installed under this
version of R (but previously-installed data-only packages without
R code can still be used).
o The yLineBias of the X11() and windows() families of devices has
been changed from 0.1 to 0.2: this changes slightly the vertical
positioning of text in the margins (including axis annotations).
This is mainly for consistency with other devices such as
quartz() and pdf(). (Wish of PR#145...