You could also use the grconvertX function to convert from the middle
of the plotting region (from='npc') to user coordinates (to='user'),
or many other combinations.
On Wed, Apr 25, 2012 at 5:53 AM, Ramon Ovelar wrote:
> Many many thanks for the tip and for authoring this function!
>
> The final
Many many thanks for the tip and for authoring this function!
The final code for the plot goes like this:
par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0))
barplot2(prueba, col=colores, horiz=TRUE,las=1, cex.names=.7)
mtext(l,side = 3, at = getFigCtr()[1], line = 0.8, cex=1.5)
On Wed, Apr 25, 2012 a
On 04/25/2012 12:28 AM, ramonovelar wrote:
Hello,
I have a barplot where each row has quite long texts and I have used "par"
to make some room in the left:
par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0))
barplot2(prueba, main = l, col=colores, horiz=TRUE,las=1, cex.names=.7)
My problem is that main
Hello, R,
check argument adj of mtext().
Hth -- Gerrit
I have a barplot where each row has quite long texts and I have used "par"
to make some room in the left:
par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0))
barplot2(prueba, main = l, col=colores, horiz=TRUE,las=1, cex.names=.7)
My problem is th
Hello,
I have a barplot where each row has quite long texts and I have used "par"
to make some room in the left:
par(mar=c(0, 17, 3, 0), oma=c(0, 0, 0, 0))
barplot2(prueba, main = l, col=colores, horiz=TRUE,las=1, cex.names=.7)
My problem is that main text appears justified to the plot. I want to
5 matches
Mail list logo