I will try to explain in a bit more detail.
1. I want to have the labels on the right with a small size to be able
to read them
2. I would like not to have the labels on the left
3. I would like to be able to choose the number of principal ticks for
every sensor. That is to say the value of
Thanks for the reproducible example. Could you explain what you want
in a bit more detail? Does the following do more or less what you
want, except that the labels are on the left instead of right?
gr <-
xyplot(value ~ tindexTOP | sensor
, data = df_rhelp
, ylab = " "
Thank you very much for the typo !! and the example about the
consequences. I did not know about the option warnPartialMatchDollar =
TRUE, I tested it with my mistake it is very effective indeed. This
option should be TRUE by default.
I edited my mistake but there is still the trouble, the
On Sun, Jan 22, 2023 at 6:48 PM Laurent Rhelp wrote:
> Dear RHelp-list,
>
> I want to choice my scale for every panel in a lattice graph according to
> the ylim range of every panel, with 10 ticks and with a start from 0.
> Also I want to plot a grid
>according to the y ticks (I did that
Thanks all for the clarification!
From: Jeff Newmiller <jdnew...@dcn.davis.ca.us>
To: r-help@r-project.org; Bert Gunter <bgunter.4...@gmail.com>; array chip
<arrayprof...@yahoo.com>
Cc: "r-help@r-project.org" <r-help@r-project.org>
Sent: Monday, May
> On 1 May 2017, at 17:59 , Bert Gunter wrote:
>
> (Too trivial for the list)
...so you decided to include us only once? >;-)
-pd
>
> I debated saying something similar but decided not to, as polygons can
> be drawn e.g. via panel.polygon.
>
> Cheers,
> Bert
>
>
>
(Too trivial for the list)
I debated saying something similar but decided not to, as polygons can
be drawn e.g. via panel.polygon.
Cheers,
Bert
On Mon, May 1, 2017 at 8:25 AM, Jeff Newmiller wrote:
> It is not a question of whether lattice "understands" the
It is not a question of whether lattice "understands" the unsorted data...
imagine trying to plot 4 points to form a square instead of a trend line... you
would NOT want lattice to sort those points for you. That lattice leaves your
data alone gives you more flexibility, even while it adds work
In addition to Berts comments
Once you change the order you change the non factored id' ordering. If you
make it a factor it may be easier to see what is going on
I think I have copied correctly - see the differences
# original data
xyplot(y ~ time, data=dat, groups=id, aspect = "fill", type
Yes. type = "l" connects the points in the order given in the data, so
if the x's are not already ordered, the plots will be different after
ordering the x's.
e.g.
> x <- c(3,1,2,4,6,5)
> y <- 11:16
> xyplot(y~x. type = "l")
As for why ... that's just the way it was designed. You can always
On Thu, 20 Oct 2016, David Winsemius wrote:
Why are you creating this factor? The `date` column has the desirable
properties associated with the "Date" class. Axis labeling will be
correct.
David, et al.:
Because originally I mis-understood the parameters; it's gone now.
rainbyday2 <-
> On Oct 20, 2016, at 9:20 AM, Rich Shepard wrote:
>
> On Wed, 19 Oct 2016, David Winsemius wrote:
>
>> I am getting annoyed, exhausted, and frustrated reading code like that.
>> Never, ever, ... ever, use the "$" operator in a formula. Use the 'data'
>> argument and
1. Your par(), opar() business is junk -- lattice displays do not use or
modify these. See ?trellis.par.set .
2. You do *not* need rain$ in your formula with the data=rain argument; you
*do* need it in the at argument and elsewhere. The data argument only
controls where the variables in the
On Wed, 19 Oct 2016, David Winsemius wrote:
I am getting annoyed, exhausted, and frustrated reading code like that.
Never, ever, ... ever, use the "$" operator in a formula. Use the 'data'
argument and the 'formula' as they are supposed to be used.
David,
I apologize for annoying,
> On Oct 19, 2016, at 4:04 PM, Rich Shepard wrote:
>
> On Wed, 19 Oct 2016, Rich Shepard wrote:
>
>> I did read that but mis-applied what I read. Tried auto.key but that did
>> not work as desired. Now I know to learn how to apply 'key'.
>
> Almost there after
Mackay
Sent: Thursday, 20 October 2016 16:11
To: R
Subject: Re: [R] Lattice xyplot(): adding a legend
Hi Rich
Without an example to check I think you need to fill in the arguments for
par.settings eg
par.settings = list(plot.symbol = list(c("black","red","dark green&quo
rsity of New England
Armidale NSW 2351
Email: home: mac...@northnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rich Shepard
Sent: Thursday, 20 October 2016 10:05
To: r-help@r-project.org
Subject: Re: [R] Lattice xyplot(): adding a legend
O
On Wed, 19 Oct 2016, Rich Shepard wrote:
I did read that but mis-applied what I read. Tried auto.key but that did
not work as desired. Now I know to learn how to apply 'key'.
Almost there after another careful reading Section 9.2.3 ff in the book.
Here's the command to produce the plot:
On Wed, 19 Oct 2016, David Winsemius wrote:
The `legend` function is used with base graphics plotting (as is the par
function).
David,
And that's how I used it before so it is the wrong template for this plot.
Mea culpa!
I think you might first read ?Lattice since it makes reference to
> On Oct 19, 2016, at 10:48 AM, Rich Shepard wrote:
>
> After reading ?xyplot and pages 161-162 in Deepayan's book I'm still not
> getting the syntax correct to add a legend to a scatterplot. The data are
> attached as filename rain.dput.
>
> Without the legend (and
Forgot to send to list
-Original Message-
From: Duncan Mackay [mailto:dulca...@bigpond.com]
Sent: Thursday, 8 October 2015 08:44
To: 'Szumiloski, John'
Subject: RE: [R] [lattice::xyplot] Using (panel:.)abline with
panel.superpose?
Hi John
I only got grid lines on your # code 2
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Rich Shepard
Subject: [R] Lattice xyplot: Fill Legend Points
When I specify pch = 19 for a scatter plot the points are filled
circles.
Deapite reading ?points and
On Fri, 18 Oct 2013, S Ellison wrote:
Using trellis.par.set seems more successful than specifying par.settings
in the call, however much I'd prefer to avoid relying on globals. Example:
ss-trellis.par.get(superpose.symbol)
ss$pch=rep(19,7)
ss$col=rainbow(7)
trellis.par.set(superpose.symbol=ss)
put the pch into the par.settings
On Thu, Oct 17, 2013 at 11:17 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
When I specify pch = 19 for a scatter plot the points are filled circles.
Deapite reading ?points and trial-and-error experimentation I have not found
how to have the legend
On Thu, 17 Oct 2013, Richard M. Heiberger wrote:
put the pch into the par.settings
Richard,
Tried this again, but I'm not finding the proper location within
par.settings.
par.settings = list(superpose.points = list(col = rainbow(7)),
superpose.lines = list(col = rainbow(7)), pch = 19)
par.settings = list(
superpose.points = list(col = rainbow(7), pch = 19),
superpose.lines = list(col = rainbow(7))
)
On Thu, Oct 17, 2013 at 11:48 AM, Rich Shepard rshep...@appl-ecosys.com wrote:
On Thu, 17 Oct 2013, Richard M. Heiberger wrote:
put the pch into the par.settings
On Thu, 17 Oct 2013, Richard M. Heiberger wrote:
par.settings = list(
superpose.points = list(col = rainbow(7), pch = 19),
superpose.lines = list(col = rainbow(7))
)
I had tried that, too. Legend symbols stubbornly remain unfilled.
Thanks, Richard,
Rich
That should have worked. I think something else is interfering.
Did you redefine either T or F?
Please send the output from dput(head(ffg.st))
so we can experiment in your setting.
Rich
On Thu, Oct 17, 2013 at 12:12 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
On Thu, 17 Oct 2013, Richard
On Thu, 17 Oct 2013, Richard M. Heiberger wrote:
That should have worked.
That's what I thought when I first tried it.
I think something else is interfering. Did you redefine either T or F?
Not intentionally.
Please send the output from dput(head(ffg.st)) so we can experiment in
I always get lost in simpleKey. The approach of directly modifying
the trellis object usually works.
tmp - xyplot(pct.quant ~ sampdate, data = ffg.st, groups = func_feed_grp,
type =
+ 'p', pch = 19, key = simpleKey(text = levels(ffg.st$func_feed_grp), space =
+ 'right', points = T, lines =
On Thu, 17 Oct 2013, Richard M. Heiberger wrote:
I always get lost in simpleKey.
As this is my first use of it I take what's offered by those more
experienced than I.
The approach of directly modifying the trellis object usually works.
tmp - xyplot(pct.quant ~ sampdate, data = ffg.st,
Dear Rxperts,
Using the above example, I have been playing around using viewport under
panel-function(...) {...} block in conjunction with
panel.groups=function(..) {xyplot.} code block.. I have not bee
successful so far.. I was wondering if it is possible to pass user-defined
functions (including
Dear Rxperts..
Just figured how to add a text at a custom location in panel.groups..
use grid.text(x=unit(value1,npc),y=unit(value2,npc),label=label
content)
With this, I hope to stop flogging such a valuable black horse! :)
On Wed, May 22, 2013 at 10:35 AM, Santosh santosh2...@gmail.com
Dear Rxperts,
Using the same example above, is there a way to remove the borders of
multi-panel strips and control the display of the borders of each panel..
for example, I would like to keep only side 1 2 of a panel...
Thanks,
Santosh
On Wed, May 1, 2013 at 11:11 PM, Santosh
Dear Rxperts,
Ok The curly braces as we talked before,...
They appear if the group argument of xyplot function is entered as a
numeric value; and don't when the values are letters.
I just figured how to hide the strip borders...and also control the ticks
in different axes...
Any suggestions
Dear Rxperts,
Sorry about that..forgot to update the numeric part of the multipanel group
indicator...
Below is the updated code... in addition to getting rid of the curly
braces, is there a better way to control the position of
panel.text flexibly instead of hardcoding.
Thanks,
santosh
q -
Thanks for all tips/suggestions.. Just a few more comments..
The same code I use with a different data set in another project does not
create those curly braces!
Regards,
Santosh
On Wed, May 1, 2013 at 8:16 PM, Santosh santosh2...@gmail.com wrote:
Sorry about the word brackets.. Yes, I meant
On May 1, 2013, at 6:16 PM, Santosh wrote:
Derar Rxperts,
I have a strange situation.. I see curly brackets
Wait right here. What do you mean by brackets? In some locales, such as mine,
that might mean [ ; in other domains... well, who knows? I don't see any
[.
The Urban Legends
Sorry about the word brackets.. Yes, I meant curly braces! I have not
heard of curley braces! :). Curly braces surrounding the values of
strip.levels appear on the strip of multipanel plots.
Thanks,
Santosh
On Wed, May 1, 2013 at 7:44 PM, David Winsemius dwinsem...@comcast.netwrote:
On May
On May 1, 2013, at 8:16 PM, Santosh wrote:
Sorry about the word brackets.. Yes, I meant curly braces! I have not
heard of curley braces! :). Curly braces surrounding the values of
strip.levels appear on the strip of multipanel plots.
Not in my running of your code.
Thanks,
Santosh
Hi Santosh
Try this :
q -
data.frame(G=rep(paste(G,1:3,sep=),each=50),
D=rep(paste(D,1:5,sep=),each=30),
a=rep(1:15,each=10),t=rep(seq(10),15),
b=round(runif(150,10,20)))
q$grp - paste(q$D,q$a,sep=:)
q$grp - ordered(q$grp, levels=unique(q$grp))
q$dcol -
hi duncan, thanks a lot for your help!
yes, your solution is working fine with a little tweaking of the vector
poscec : but on the other hand it's just affecting the relative
position of labels around respective points;
to get more flexibility would be probably better to supply (even if I
do
hi
the bottom panel seems ok so for the top you
supply a vector of positions that are your
required positions (name eg posvec) to the panel
function. may need to do the same for other functions
to access the correct panel there is the ifelse statement
posvec = c(...)
panel = function(x,
See FAQ 7.22 and fortune(line 800).
cheers,
Rolf Turner
On 21/12/12 06:29, Sam Steingold wrote:
Hi,
When I was using the regular plot() function, I added this:
--8---cut here---start-8---
if (!is.null(file)) {
Hello,
A reproducible example would be nice.
Anyway, with lattice::xyplot, you can store, then print the figure, in
order to write it into a file:
xyObj - xyplot(...)
postscript(...)
print(xyObj)
dev.off()
Regards,
Pascal
Le 21/12/2012 02:29, Sam Steingold a écrit :
Hi,
When I was
subj - levels(subject)
subj[panel.number()]
seems to be a good solution
is there something like panel.legend (instead of panel.text)?
Am 02-10-2012 12:59, schrieb Christof Kluß:
Hi
xyplot(y ~ x | subject) plots a separate graph of y against x for each
level of subject. But I would like to
Christof:
You are aware, I assume, that the subject level name can be
incorporated into the strip label via the strip function argument;
e.g.
xyplot(...,
strip = strip.custom(style = 1, strip.levels=c(TRUE,TRUE)),
...)
Cheers,
Bert
On Tue, Oct 2, 2012 at 6:45 AM, Christof Kluß
On Oct 2, 2012, at 3:59 AM, Christof Kluß wrote:
Hi
xyplot(y ~ x | subject) plots a separate graph of y against x for each
level of subject. But I would like to have an own function for each
level. Something like
xyplot(y ~ x | subject,
panel = function(x,y) {
On Fri, Sep 16, 2011 at 6:56 PM, Deepayan Sarkar
deepayan.sar...@gmail.com wrote:
On Fri, Sep 16, 2011 at 2:17 AM, Cram Rigby cram.ri...@gmail.com wrote:
I have a problem with lattice log scales that I could use some help with.
I'm trying to print log y-axis scales without exponents in the
Hi Michael:
Here's one way to get it from ggplot2. To avoid possible overplotting,
I jittered the points horizontally by +/- 0.2. I also reduced the point
size from the default 2 and increased the line thickness to 1.5 for
both fitted curves. In ggplot2, the term faceting is synonymous with
Thanks very much, Dennis. See below for something I don't understand.
On 10/21/2011 12:15 PM, Dennis Murphy wrote:
Hi Michael:
Here's one way to get it from ggplot2. To avoid possible overplotting,
I jittered the points horizontally by ± 0.2. I also reduced the point
size from the default 2
Hi Michael:
The necessary argument to geom_smooth() is weight, not weights (my
fault, sorry), so try this instead:
ggplot(PearsonLee, aes(x = parent, y = child)) +
geom_point(size = 1.5, position = position_jitter(width = 0.2)) +
geom_smooth(method = lm, aes(weight = frequency,
On Fri, Sep 16, 2011 at 2:17 AM, Cram Rigby cram.ri...@gmail.com wrote:
I have a problem with lattice log scales that I could use some help with.
I'm trying to print log y-axis scales without exponents in the labels.
A similar thread with Deepayan' recommendation is here:
On Thu, Jun 23, 2011 at 10:15 PM, Guy Jett gj...@itsi.com wrote:
My thanks to this mailing list and its members for their great help in the
past. I have yet another question per the following code and comments:
# I need individual graphs grouped by PARLABEL AND Event, with PARLABEL
#
Hi Girish,
Try this:
disc - xyplot(cnt_gt50pct_disc ~ week_num|sku_num, data=DF,type =
h,lwd=2,panel = function(x, y, ...) {
panel.abline(v = x[which.max(y)], lty = 2)
panel.xyplot(x, y, ...)
})
-Felix
On 9 December 2010 17:35, Girish A.R. garam...@gmail.com wrote:
Thanks, Felix! That works.
best,
-Girish
--
View this message in context:
http://r.789695.n4.nabble.com/lattice-xyplot-Help-needed-in-help-in-customizing-the-panel-abline-function-tp3079656p3081792.html
Sent from the R help mailing list archive at Nabble.com.
Sorry, just realized that there was a typo in the following code of my
original post. The correct code is as shown below (corrected 'data=swtop16'
to 'data=DF'):
sales - xyplot(pct_inv_left ~ week_num|sku_num, data=DF,type =
l,lwd=2,panel = function(...) {
panel.abline(h = 75, lty =
--
View this message in context:
http://r.789695.n4.nabble.com/lattice-xyplot-Help-needed-in-help-in-customizing-the-panel-abline-function-tp3079656p3079697.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
Girish A.R. wrote:
Sorry, just realized that there was a typo in the following code of my
original post. The correct code is as shown below (corrected
'data=swtop16' to 'data=DF'):
sales - xyplot(pct_inv_left ~ week_num|sku_num, data=DF,type =
l,lwd=2,panel = function(...) {
Thanks for the reply, Dieter.
I'm sorry I should have made it clear in my original post - the number
(output of which.max()) IS dependent on the grouping..
Thanks,
-Girish
--
View this message in context:
On Tue, Nov 9, 2010 at 2:06 AM, Marcus Drescher dresc...@tum.de wrote:
Dear all,
if I plot a lattice xyplot like:
library(lattice); require(stats);
Depth - equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes)
How can I manipulate the group title
On Sun, Oct 17, 2010 at 10:01 AM, Coen van Hasselt
coenvanhass...@gmail.com wrote:
Hi all,
Using xyplot I want to print to Y variables (y1, y2) versus X, conditional
on the group.
How can I obtain a line (type=l) for one relationship (ie. y1 ~ x) and
points (type=p) for the other (y2 ~ x) ?
On Wed, Sep 22, 2010 at 12:21 AM, Axel axelg...@gmail.com wrote:
Hi,
I'm trying to plot many (x, y) data files using the xyplot function
from the lattice package. Each file can be classified by set name (s1,
s2,...) and data type (A, B, ...). Each data set contains a different
number of
That would be the logically correct approach. Here are a couple of
ways to specify color:
That's perfect! Thank you very much.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Does using
df = df[order(df$type,df$set,df$x),]
before calling xyplot fix the problem?
- Phil Spector
Statistical Computing Facility
Department of Statistics
Does using
df = df[order(df$type,df$set,df$x),]
before calling xyplot fix the problem?
Thank you very much for your suggestion. It does make the lines open,
but unfortunately it mixes different id together.
With the new ordering the plot looks something like this:
(x=-10, y_id1) -
Hi:
Yesterday, I posted a question regarding how to handle different graphical
behavior between two factors in xyplot() [package lattice]. After a public
and private reply from Deepayan Sarkar, the problem has been resolved
nicely, including the addition of a stacked legend for the two factors in
On Sat, Aug 21, 2010 at 5:58 AM, Dennis Murphy djmu...@gmail.com wrote:
Hi:
In lattice, how does one handle separate graphical behavior for two
different factors? In the xyplot below, the objective is to use the levels
of one factor to distinguish corresponding shapes and colors, and the
2010/7/5 László Sándor sand...@gmail.com:
Hi all,
Back in 2007, Deepayan and Patrick had an exchange about how to modify
axes for lattice plots (pasted below). I need something similar, but I
also need to produce ticks on the axes. Deepayan quickly coded up
substitute gridlines because they
Thank you, this has been really helpful, I think I have managed to
produce the desired effect.
However, I am having trouble with generating and passing subscripts
from the main xyplot call to panel.superpose. My code resembles the
examples (e.g. pp 71-73) in your 2008 book --- though I cannot
Hi all,
Back in 2007, Deepayan and Patrick had an exchange about how to modify
axes for lattice plots (pasted below). I need something similar, but I
also need to produce ticks on the axes. Deepayan quickly coded up
substitute gridlines because they needed to make the default box
transparent. The
Doris,
You might get lucky and find some kind soul who's willing to
dig through your *un*reproducible code, but your chances for
help would probably increase dramatically if you were to
provide *reproducible* and *minimal* code to illustrate your
problem. I imagine that you might benefit from
Hi Duncan,
Thanks for your response and I'm sorry for the delayed reply - think my spam
filter is to blame.
Your solution did work. Thanks a ton!
Shankar
Duncan Mackay-2 wrote:
Hi Shankar
On a slightly different note - below produces a strip to the left without
the stacked strips
On 8/24/2009 4:47 AM, ukoe...@med.uni-marburg.de wrote:
# Hi all,
# I want to increase the line width of the plotted lines
# in a xy-lattice plot. My own attempts were all in vain.
# Without the group option the line width is modified -
# with the option it is funnily enough not.
# Please
Now it works.
Many thanks, Chuck!
Quoting Chuck Cleland cclel...@optonline.net:
On 8/24/2009 4:47 AM, ukoe...@med.uni-marburg.de wrote:
# Hi all,
# I want to increase the line width of the plotted lines
# in a xy-lattice plot. My own attempts were all in vain.
# Without the group option the
Hi Shankar
On a slightly different note - below produces a strip to the left without
the stacked strips
require(latticeExtra) # NB install if not found
useOuterStrips(strip=strip.custom(bg=skyblue),
strip.left=strip.custom(bg=yellow),
xyplot(V4~V3|frac.f*stdev.f,
On Mon, Jul 13, 2009 at 8:33 AM, OBo.borderl...@gmail.com wrote:
I am using R 2.8.1 and lattice to produce xyplots conditioned on
two factors. What I would like is to have the scales be free between values
of one factor, but some within. Thus, in this example,
xyplot(mpg ~ disp | factor(gear)
Thank you! I ended up hunting down a few previous posts you made and getting
it to to work, although yes, it was not pretty.
-Orion
On 8/3/09 10:30 am, Deepayan Sarkar deepayan.sar...@gmail.com wrote:
On Mon, Jul 13, 2009 at 8:33 AM, OBo.borderl...@gmail.com wrote:
I am using R 2.8.1 and
On Wed, May 27, 2009 at 4:38 PM, Benjamin Tyner bty...@gmail.com wrote:
Hello,
Say I have a predictor taking a very wide value:
Data - data.frame(pred=a,resp=1)
print(xyplot(pred~resp, data=Data)) # enough y-axis padding to accommodate
the wide
Deepayan,
Many thanks for the quick response and suggested workaround.
Best,
Ben
Deepayan Sarkar wrote:
On Wed, May 27, 2009 at 4:38 PM, Benjamin Tyner bty...@gmail.com wrote:
Hello,
Say I have a predictor taking a very wide value:
Data -
A million thanks Deepayan! That works great.
Deepayan Sarkar wrote:
On Wed, Apr 15, 2009 at 8:59 AM, kate.m katherine...@gmail.com wrote:
Hi All,
I have a data set which I need to plot and show the values of one of the
variables as a second x-axis.
library(lattice)
Still on this question, I'm having problems with displaying the text when
repeated values are present. For example:
library(lattice)
year-c(2001,2002,2003,2001,2002,2003,2001,2002,2003,2001,2002,2003)
fac-c(arts,arts,arts,arts,arts,arts,sci,sci,sci,sci,sci,sci)
On Wed, Apr 15, 2009 at 8:59 AM, kate.m katherine...@gmail.com wrote:
Hi All,
I have a data set which I need to plot and show the values of one of the
variables as a second x-axis.
library(lattice)
year-c(2001,2002,2003,2004,2005,2006)
fac-c(arts,arts,arts,sci,sci,sci)
I have some data which needs to be plotted with lattice.
library(lattice)
cars - c(0.1, 0.3, 0.6, 0.4, 0.9)
trucks - c(0.2, 0.5, 0.4, 0.5, 0.1)
drivers-c(121,145,167,200, 210)
year-c(2005,2006,2007,2008,2009)
type-c(local,local,foreign,foreign,foreign)
xyplot(cars+trucks~year|type,
taz9 alienz747 at gmail.com writes:
I have some data which needs to be plotted with lattice.
library(lattice)
cars - c(0.1, 0.3, 0.6, 0.4, 0.9)
trucks - c(0.2, 0.5, 0.4, 0.5, 0.1)
drivers-c(121,145,167,200, 210)
year-c(2005,2006,2007,2008,2009)
type-c(local,local,foreign,foreign,foreign)
Richie, this is perfect! Thank you so much.
All the best,
Kate
On Tue, Apr 14, 2009 at 12:16 PM, richard.cot...@hsl.gov.uk wrote:
I have some data which needs to be plotted with lattice.
library(lattice)
cars - c(0.1, 0.3, 0.6, 0.4, 0.9)
trucks - c(0.2, 0.5, 0.4, 0.5, 0.1)
On Tue, Apr 14, 2009 at 4:39 PM, jimdare jamesdar...@gmail.com wrote:
Hello fellow R users,
I have a problem. I have created a barchart overlayed by an xyplot line,
both of which read off the same Y axis. The problem comes when I try to
generate a key. It seems that I can only create
xyplot(GPP~(1/Iron)+(1/TSS)+TIN.TP, groups=RiverMile,data=f,
scales=list(relation=free), par.settings = list(
superpose.symbol = list(
pch = c(1:7),
fill = c(red, blue),
col = black)), auto.key=TRUE,
panel=function(...){
On Wed, Sep 24, 2008 at 10:15 AM, stephen sefick [EMAIL PROTECTED] wrote:
I would like to use the data below where the plots are close to what I
want. Instead of color I would like to use different symbols, and
have the symbols in the legend match the graphs. I am also going to
See
Deepayan I believe that I am dense- I am still having a problem
getting it working. I can not figure out how to use packet.number.
On Wed, Sep 24, 2008 at 2:56 PM, Deepayan Sarkar
[EMAIL PROTECTED] wrote:
On Wed, Sep 24, 2008 at 10:15 AM, stephen sefick [EMAIL PROTECTED] wrote:
I would like to
On Wed, Sep 24, 2008 at 12:30 PM, stephen sefick [EMAIL PROTECTED] wrote:
Deepayan I believe that I am dense- I am still having a problem
getting it working. I can not figure out how to use packet.number.
Something like (untested)
panel=function(...){
panel.xyplot(...)
thanks man my head hurts- that is pretty simple. I was trying to will
it done, which seems not to work.
On Wed, Sep 24, 2008 at 3:38 PM, Deepayan Sarkar
[EMAIL PROTECTED] wrote:
On Wed, Sep 24, 2008 at 12:30 PM, stephen sefick [EMAIL PROTECTED] wrote:
Deepayan I believe that I am dense- I am
Andreas Krause:
# still vertical despite las=1
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris,
scales=list(relation=free), las=1) xyplot(Sepal.Length ~ Sepal.Width |
Species, data=iris, scales=list(relation=free, las=1))
Try
xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris,
93 matches
Mail list logo