Skip to content
Back to formatted view

Raw Message

Message-ID: <41107180-bced-41a1-8527-07b414b61f41@r5g2000yqb.googlegroups.com>
Date: 2010-01-02T23:51:59Z
From: John
Subject: xyplot: problems with column names & legend

Hello!

one more question about xyplot. If I have data which have space in the
column names, say "xyz 123". How do I create a working graph where
this text is displayed in the legend key?

Now when I try something like xyplot("xyz 123" ~ variable1, data =
mydata, .......) I get nothing.
Also, is it possible to genrate the graph with xyplot(mydata[,1] ~
variable1, data = mydata, .......) and then later in the code specify
the names that should be displayed in the legend?

Thank you!