[R] perp() and axes

2005-11-30 Thread Andreas Lehnert
Hello R-sters Is there a way to force e.g. the y-axis of a persp()-plot to show not equaly spaced labels but the ones you can give in the "y="-command? I tried persp(,y=c(0.1,0.5,0.7,1),...) but the labels were 0.0:1 by 0.2 I'm looking forward to your help Andy --

[R] setting labels on axis

2005-11-08 Thread Andreas Lehnert
Dear R, When I try to plot e.g. a<-matrix(1:100,10,10) image.plot(a,xlim=c(0,100),ylim=c(0,100)) I get the axis but without filling. I tried a few things, but it only works if I delete the xlim and ylim. Then I have the range from 0:1. Can anyone help me get the right labeling? Thank you, A

[R] someone knows how to title a image.plot() in a layout?

2005-11-07 Thread Andreas Lehnert
Hello R, I tried to get 4 image.plot() in one layout. But when I try to label it with "main" or "sub" there is an error. What am I doing wrong? Please help Thanks, Andy -- __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinf

[R] levelplot and layout

2005-11-07 Thread Andreas Lehnert
Dear R, I know that I cannot use filled.contour() with layout, so I tried levelplot. But it looks like I cannot use levelplot also. The only way to get more than one graphic in the window is by levelplot(panel=). but there is only one colorkey and I need one for every graphic. (I´m also not ver

[R] creating a matrix of "objects"

2005-10-26 Thread Andreas Lehnert
Dear R, I´m really new to R, so it could be that my question is one of those "read the manual" ones. But I did that and found nothing. Problem: I need to get a "matrix" of "datapoints". Each datapoint has to contain tree attributes. trials like: make.LDmatrix <- function(nrbases){