On 07.01.2013 07:00, Michael Rennie wrote:
Hi all,
I have read through the archives, but can't find a solution to this
problem.
I need the text direction on dependent B, plotted in margin 4, to go
top to bottom (opposite what it is now). Here's some sample code:
#plot with mtext example
Any thoughts on what that dirty hack might be or any leads on where to
start? Perhaps a whole new plot region in the margin or something? Is
that even possible? I'm having a difficult time imagining how I can do this.
Mike
Uwe Ligges wrote:
On 07.01.2013 07:00, Michael Rennie wrote:
Hi
On 07.01.2013 17:06, Michael Rennie wrote:
Any thoughts on what that dirty hack might be or any leads on where to
start? Perhaps a whole new plot region in the margin or something? Is
that even possible? I'm having a difficult time imagining how I can do
this.
Ideas fir ugly hacks:
Either
On Jan 7, 2013, at 8:06 AM, Michael Rennie wrote:
Any thoughts on what that dirty hack might be or any leads on where
to start? Perhaps a whole new plot region in the margin or
something? Is that even possible? I'm having a difficult time
imagining how I can do this.
The `text`
Right- I think the issue is getting a text() command (which does accept
srt) to work outside the plot region, and in the margin where I need it
to appear. This is easy to hack in a single plot, but not so clear how
to do it in a multi-panel environment with an outer margin.
I suspect going
On Jan 7, 2013, at 10:45 AM, Michael Rennie wrote:
Right- I think the issue is getting a text() command (which does
accept srt) to work outside the plot region, and in the margin where
I need it to appear. This is easy to hack in a single plot, but
not so clear how to do it in a
On Mon, Jan 7, 2013 at 11:52 AM, David Winsemius dwinsem...@comcast.netwrote:
If you are going that route you may want to look at the gridBase package.
Yes for mixing base and grid graphics but IMHO overkill here. Replacing
the last mtext line with
grid::grid.text('dependent B', 0.985 , 0.5
HA! Works perfectly!!! Thanks so much ilai.
ilai wrote:
On Mon, Jan 7, 2013 at 11:52 AM, David Winsemius
dwinsem...@comcast.net mailto:dwinsem...@comcast.net wrote:
If you are going that route you may want to look at the gridBase
package.
Yes for mixing base and grid graphics but
And look at the grconvertX and grconvertY functions for possibly ways to
compute positioning information when using text with base graphics.
On Mon, Jan 7, 2013 at 11:35 AM, David Winsemius dwinsem...@comcast.netwrote:
On Jan 7, 2013, at 8:06 AM, Michael Rennie wrote:
Any thoughts on what
77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Greg Snow
Sent: Monday, January 07, 2013 3:59 PM
To: David Winsemius
Cc: r-help; Uwe Ligges; Michael Rennie
Subject: Re: [R] Changing mtext direction, or using text
Hi all,
I have read through the archives, but can't find a solution to this problem.
I need the text direction on dependent B, plotted in margin 4, to go
top to bottom (opposite what it is now). Here's some sample code:
#plot with mtext example
par(mgp = c(2,1,0), mfrow=c(2,2), las=1,
11 matches
Mail list logo