Saptarshi Guha
2008-Nov-14 00:57 UTC
[R] Splitting a lattice stripplot across several pages
Hello, I have a stripplot with 200+ labels i.e i have network connections. The y-axis are the server port numbers and am graphing the number of packets in a connection. Roughly stripplot(totpacks~portnum,data=network) Due to the large number of server ports in my dataset, the y-axis labels overlap so I would like to split it across several panels(1 panel per page) with about 25-50 per panel. Is there a way to do this? Regards Saptarshi Saptarshi Guha | saptarshi.guha@gmail.com | http://www.stat.purdue.edu/~sguha [[alternative HTML version deleted]]
Deepayan Sarkar
2008-Nov-14 01:28 UTC
[R] Splitting a lattice stripplot across several pages
On Thu, Nov 13, 2008 at 4:57 PM, Saptarshi Guha <saptarshi.guha at gmail.com> wrote:> Hello, > I have a stripplot with 200+ labels i.e i have network connections. > The y-axis are the server port numbers and am graphing the number of > packets in a connection. Roughly > stripplot(totpacks~portnum,data=network) > Due to the large number of server ports in my dataset, the y-axis > labels overlap so I would like to split it across several panels(1 > panel per page) with about 25-50 per panel. > Is there a way to do this? > Regards > SaptarshiI would use my y-variable also as a conditioning variable, either using cut() or equal.count(). The basic idea is x = y = 1:100 stripplot(y ~ x | cut(y, breaks = 10), scales = list(y = list(relation = "sliced", rot = 0))) -Deepayan