Dear R-experts..
Thanks to Dennis and Deepayan for the valuable tips; I used a work-around to
indicate grouping variable inside a panel of a lattice. I am yet to get the
legends properly. Is "subscripts" needed for generating the legends inside a
lattice panel?
The work-around R code for the earl
On Wed, Feb 3, 2010 at 10:50 AM, Santosh wrote:
> Dear R-experts..
>
> I am trying to generate legend inside panels of lattice barplots..
> Following is a sample dataset..
> Sno DN EP Y1 Y2
> 1 1 D1 A20 19 19
> 2 1 D1 A50 8 9
> 3 1 D1 A70 3 4
> 4 2 D2 A20 22 22
> 5 2 D2 A50 1
Dear R-experts..
I am trying to generate legend inside panels of lattice barplots..
Following is a sample dataset..
Sno DN EP Y1 Y2
11 D1 A20 19 19
21 D1 A50 8 9
31 D1 A70 3 4
42 D2 A20 22 22
52 D2 A50 13 14
62 D2 A70 6 7
73 D2 A20 23 23
83 D2 A50 12 13
9
On Thu, Feb 5, 2009 at 11:28 AM, Dieter Menne
wrote:
> Deepayan Sarkar gmail.com> writes:
>
>> > One other thing that has so far eluded me is how to specify two
>> > different kinds of symbols on a single column. The key above shows
>> >
>> > text line text rectangle
>> >
>> > but I would really
Deepayan Sarkar gmail.com> writes:
> > One other thing that has so far eluded me is how to specify two
> > different kinds of symbols on a single column. The key above shows
> >
> > text line text rectangle
> >
> > but I would really like to get
> >
> > text line
> > text rectangle
> >
> > but th
Deepayan Sarkar wrote:
> On Wed, Feb 4, 2009 at 8:21 AM, Iago Mosqueira
> wrote:
>> Hello,
>>
>> I am trying to draw a key inside a single panel in a lattice xyplot. The
>> panel function uses panel.number() to use a slightly different style for
>> one of the panels. Once inside than panel I am u
On Wed, Feb 4, 2009 at 2:13 PM, Iago Mosqueira wrote:
> Deepayan Sarkar wrote:
>> On Wed, Feb 4, 2009 at 8:21 AM, Iago Mosqueira
>> wrote:
>>> Hello,
>>>
>>> I am trying to draw a key inside a single panel in a lattice xyplot. The
>>> panel function uses panel.number() to use a slightly differen
On Wed, Feb 4, 2009 at 8:21 AM, Iago Mosqueira wrote:
> Hello,
>
> I am trying to draw a key inside a single panel in a lattice xyplot. The
> panel function uses panel.number() to use a slightly different style for
> one of the panels. Once inside than panel I am using
>
> draw.key(list(text=list(
Hello,
I am trying to draw a key inside a single panel in a lattice xyplot. The
panel function uses panel.number() to use a slightly different style for
one of the panels. Once inside than panel I am using
draw.key(list(text=list(lab='catch'),
lines=list(lwd=c(2)),
text=list(l
9 matches
Mail list logo