Hello, i am searching now the R-Documentation many hours, but i cannot find a solution to my problem. I hope, i can solve my issue with R. i have data-tables, 15*40 data-tables i want to visualise this. this example-code i copied makes a 3x3-grid: x <- 0:12 y <- sin(pi/5 * x) op <- par(mfrow = c(3,3), mar = .1+ c(2,2,3,1)) for (tp in c("p","l","b", "c","o","h", "s","S","n")) { plot(y ~ x, type = tp, main = paste("plot(*, type = \"",tp,"\")",sep="")) if(tp == "S") { lines(x,y, type = "s", col = "red", lty = 2) mtext("lines(*, type = \"s\", ...)", col = "red", cex=.8) } } i want it for 15x40 grid in a big window, so i can scroll and see how the data-tables change. i tried to do so, but with many grids i become the error " Error in plot.new() : Figure margins too large " is something like that possible with r? Thank you for helping me, Greatings, Markus Hummel
On 02-Apr-05 Markus Hummel (WEB.DE) wrote:> Hello, > > i am searching now the R-Documentation many hours, but i cannot find a > solution to my problem. I hope, i can solve my issue with R. > > i have data-tables, 15*40 data-tables > > i want to visualise this. > [...] > i want it for 15x40 grid in a big window, so i can scroll and see how > the data-tables change. > > i tried to do so, but with many grids i become the error > > " Error in plot.new() : Figure margins too large " > > is something like that possible with r?I don't know if there is a direct way to do it (others are expert in unusual graphics), but the following, for instance, works on my system (Red Hat Linux, Gnome desktop): X11(width=40,height=5) x<-rnorm(4001);X<-x[1:4000]+x[2:4001] plot(X,type="l") with the result that there is a long horizontal window, extending far beyond the sides of the X display. At any one time it shows about 1500 of the 4000 data points. The window can be slid from left to right by putting the mouse on the top bar, holding down the left button, and dragging the window from side to side. Then the parts off the screen to one side come onto the screen, and the part on the screen at the other side disappear off the screen. You could try doing say X11(width=80,height=30) to put 15x40 2-inch by 2-inch graphs onto it. In my system, I can move this X window onto a different "workspace" so that it does not interfere with the workspace where I'm doing the R work. However, there doesn't seem to be a means to mive it up and down in the same way as from side to side: only the top bar works for this, and it cannot be moved ff the screen. Good luck, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 02-Apr-05 Time: 13:03:30 ------------------------------ XFMail ------------------------------
On 02-Apr-05 Martin Maechler wrote:> Hi Ted, > > in my Redhat / GNOME setup, I can grab windows using <Alt> + > <left mouse button> anywhere, > not just at the top bar to drag them around. > I'm not entirely sure if this "<Alt>-key + Mouse" is standard, > but I'm quite sure it's the default in other (Unixy) > environments / setups as well. > > If the above is useful, you can ``reply to yourself'' on R-help > if you want. > > Best regards, > MartinYes, you're right, Martin (and I did know that, but temporarily did not know that I knew ... ). Even so, while I can drag the window down off the screen, I still cannot push to top bar off the top of the screen. So it still doesn't work for trying to make a window taller than the screen, since you can't pull what's below the screen up! I think, however, that Sean Davis's suggestion of viewing PDFs is probably more practical, though more cumbersome in the creation. Another image viewer with useful facility is the 'display' program in ImageMagick. If the image extends beyond the bounds of the 'display' window, you get a tiny auxiliary "pan window" where the 'display' window is represented as a rectangle inside a thumbnail of the image. You drag the rectangle around to get different parts of the image into the 'display' window. Also, 'display' supports a wide variety of image formats. It will be interesting to see other suggestiosn for this problem! Best wishes, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 02-Apr-05 Time: 14:15:21 ------------------------------ XFMail ------------------------------