Hi
Sorry, that should be ...
(i) To start a new page, use plot.new() (if you are trying to mix 'grid'
and base graphics)
(ii) Watch out for 'grid' and base graphics fighting each other over the
clipping region (you might need to use grid.clip() after a call to
plot() or your 'grid' output m
Hi
Here are a couple of suggestions:
(i) To start a new page, use plot.new() FIRST, followed by
grid.newpage() (if you are trying to mix 'grid' and base graphics)
(ii) Watch out for 'grid' and base graphics fighting each other over the
clipping region (you might need to use grid.clip() after
On Fri, Oct 19, 2012 at 6:28 PM, Ali Tofigh wrote:
> On Wed, Oct 17, 2012 at 4:08 PM, ilai wrote:
> > On Wed, Oct 17, 2012 at 11:10 AM, Ali Tofigh
> wrote:
>
> ## this works as intended with a mix of plot.new() and grid.newpage
> pdf("test3.pdf")
> plot.new(); my.plot(); grid.newpage(); my.plot
On Wed, Oct 17, 2012 at 4:08 PM, ilai wrote:
> On Wed, Oct 17, 2012 at 11:10 AM, Ali Tofigh wrote:
>>
>> my problem is that I usually have no choice but to mix grid and base
>> graphics.
>
> What does that have to do with the answer you got ? did you even try it ?
> here it is (again) but this ti
On Wed, Oct 17, 2012 at 11:10 AM, Ali Tofigh wrote:
> my problem is that I usually have no choice but to mix grid and base
> graphics.
What does that have to do with the answer you got ? did you even try it ?
here it is (again) but this time mixing base+grid:
require(gridBase)
pdf("test.pdf")
my problem is that I usually have no choice but to mix grid and base
graphics. I use grid as much as possible, but for example for plotting
dendrograms, I don't know how to plot them other than using base
graphics. So I use the functions in gridBase to produce those plots.
In order to do that I hav
The plot.new function is for base graphics and base and grid graphics
don't usually play well together. You probably want to use
grid.newpage function instead.
On Tue, Oct 9, 2012 at 1:26 PM, Ali Tofigh wrote:
> Hi,
>
> when using the grid package, I've come across this weird behaviour
> where a
On Tue, Oct 9, 2012 at 1:26 PM, Ali Tofigh wrote:
> Hi,
>
> when using the grid package, I've come across this weird behaviour
>
> pdf("test.pdf"); plot.new(); grid.rect(gp = gpar(fill="blue"));
> plot.new(); grid.rect(gp = gpar(fill="blue")); dev.off()
>
> The first page is filled completely wi
8 matches
Mail list logo