similar to: -Altering labels and tickmarks on persp() plots

Displaying 20 results from an estimated 10000 matches similar to: "-Altering labels and tickmarks on persp() plots"

2002 Apr 12
1
persp(): z-axis annotation overwrites numbers at tickmark
Dear R-users first, thanks to Paul Murrell for fixing my problem "What line is labeled in persp()". It works great now (in the development version). One more question (I don't know if it's related to the "old" problem): the annotation on the z-axis overwrites the numbers at the tickmarks and sometimes, if numbers are pretty long, the numbers themselfe overlap the
2002 Apr 02
2
label tickmarks in persp()-plot
Dear R-users, is there a way to label the tickmarks other than persp does it? I didn't find anything on that in the archive. To plot the surface with equi-distant tickmarks, I assigned x<-c(1:6) y<-x persp(x,y,z,....) Instead of labels 1 to 6, I need something like 0.05, 0.1,10,15,100,1000. Any hint and help appreciated, Nina
1999 Jan 19
1
axis labels and ticks in persp
1. This doesn't work persp(x,y,z,col="grey",xlab="x",ylab="y",zlab="z") but I can get axis lables on x and y by persp(x,y,z,col="grey") title(xlab="x", ylab="y") BUT I can't figure out how to get a label for z. How to do it? 2. To be be consistent with image(), I think persp should make z the axis it now calls y (and
2010 Feb 07
1
contour & persp
I have this data set that both x & y are ordered vectors of length 600 & 700 respectively; z is a 600 by 700 matrix whose entry z[i,j] is either a missing value (indicated by 'NaN') or a real number between 0 and 1. The contour function contour(x,y,z) gives me a blank picture. I guess the reason is that most of z-entries are missing, only less than 1% are non missing.
2006 Nov 07
1
plot questions?-errors in persp(x1, x2, y) and contour(x1, x2, y)
Dear Uwe Ligges , I still can't finish it. *> aa* #my data x1 x2 y 5 0.05 6 4.4180 1 0.50 3 2.6979 4 0.50 9 2.9000 7 0.95 6 2.6230 8 0.95 6 2.9078 9 0.95 6 2.6727 3 1.40 3 2.4203 2 1.40 9 2.5329 6 1.85 6 2.4867 *> attach(aa)* *> persp(x1,x2,y* error in persp.default(x1, x2, y) : increasing 'x' and 'y' values expected
2004 Aug 03
0
strange tickmarks placing in image
Hello, I've a problem aligning tickmarks to an image. I've created a correlation matrix for 84 datasets. I'm visualizing the matrix as an image with colour coding according to the correlation coefficient. The 84 datasets are distributed over three factors, but the desgin is unbalanced, so that the tickmarks and the lables for the axis must not evenly distributed. A regular grid via
2013 May 16
1
Contour lines in a persp plot
Hello folks, i'm a R beginner and i want to put in a same plot both contour lines and persp plot. For example, fn<-function(x,y){sin(x)+2*y} #this looks like a corrugated tin roof x<-seq(from=1,to=100,by=1) #generates a list of x values to sample y<-seq(from=1,to=100,by=1) #generates a list of y values to sample z<-outer(x,y,FUN=fn) #applies the funct. across the combos of x
2009 May 27
1
contour lines on persp plot
Hello folks, I am a beginner R user. I have been able to make a 3D surface plot using 'persp'. The surface is made by a grid of lines emanating perpendicularly from each of the x and y axes at regular intervals. I can get rid of that grid by setting 'border=NA'. Can anyone suggest some ways to replace the grid with contour lines, to create a 3-dimensional contour map? Thanks
1999 May 04
0
contour and persp help please
I have data saved in files on disk in following format x y z ------------------ 1 1 1 1 2 2 2 1 3 2 2 4 Normally I read the file into a data frame, but suppose I do it this way: x<-seq(1,2) y<-seq(1,2) z<-seq(1,4) data<-data.frame(x,y,z) image(unique(data$x),unique(data$y),data$z, col=gray(0:19/19), xlab="x", ylab="y") I was helped at some point in the past on
2001 Oct 12
2
adding text to persp
Any ideas on adding text to persp plots? The perspp function from S-plus is not implemented. I'm using R1.3.0 on Win2000. Thanks, Sundar -- Sundar Dorai-Raj, Ph.D. Assistant Professor Discrete & Statistical Sciences Office: (334) 844-3647 231 Allison Lab Fax: (334) 844-3611 Auburn University Email: dorairaj at dms.auburn.edu Auburn AL 36849-5307
2006 May 09
2
RFC: log='z' for image, contour, persp?
I've been thinking of adding the possibility of including "z" among the axes to be logged in image, contour, and persp. In the first two, it would only affect where the breaks were set if they are calculated automatically; it would have a bigger effect in persp. For example, image(x, y, z, log="z") would set 12 colours evenly spaced on a log scale of the z values.
2004 Feb 18
3
persp and lines()
R-sters: I'm interested in keeping data plotted in persp to preserve the wireframe look, I'd just like to change one of the lines drawn (in either the x or y direction) into a different color so that it stands out. Or is there some way to add a line (say, via lines(), or abline()) to a persp() plot at the designated x or y that would follow the z surface contour? I could add a line
2000 Oct 26
2
persp plot question..
Dear All, I have been trying to to do this for a few days now. I can generate persp plot OK and can generate it in colour using the command persp(x,y,z,col=terrain.colors(20)) However, I was wondering if it is possible to shade the 3d surface like a contour plot. i.e. black for large z, white for small z, say Thanks in advance Colin
2000 Jun 26
1
persp greek label problem (PR#583)
Full_Name: Ramin Nakisa Version: 1.1.0 OS: i386 linux Submission from: (NULL) (192.127.94.7) Labels created with expression seem to disappear, e.g. the x axis label in x <- -6:16 contour(outer(x, x), method = "edge", vfont = c("sans serif", "plain"), xlab=expression(theta[0]), ylab=expression(theta[1])) and all three labels in x <- -6:16 persp(outer(x, x),
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List, I am trying unsucessfully to modify the fontsize of lables in mosaic: require(vcd) mosaic(Titanic, pop=FALSE, labeling_args=list(rot_labels=c(bottom=90,top=90), set_varnames = c(Sex = "Gender"), gp_text=gpar(fontsize=20))) #can't get it to resize text tab <- ifelse(Titanic < 6, NA, Titanic) # it works for labeling_cells labeling_cells(text = tab,
1999 Nov 16
1
spikes in contour and persp (PR#327)
The following matrix of normed likelihoods should give a smooth surface but instead gives a series of spikes in both persp and contour (the dim labels are the axes values). I know an algorithm cannot be infallible but it would be nice to have some parameters to control the smoothing. (It takes close to an hour to produce this matrix on a Pentium II 300mh. It was after that that it crashed with the
2009 Sep 30
0
change axis labels in persp
I need to change one of the axis produced by persp by giving it labels for the tickmarks. The dimension has months (a factor) so the default decimals don't look good. The graph will finally become a pdf or emf file to be embedded in a document, so persp3d will not work, I think. Thank you all. Stephen [[alternative HTML version deleted]]
2005 Feb 01
0
persp plots axis tick-labels
Hi R-listers, I am having trouble with persp plotting and I hope some knowledgeable person can help me. I have searched the help files to no avail. I am sure there is a way of achieving this simple task. I thought in par maybe but that seems not to work for 3d plots. Maybe I have missed something. I read in ?persp that it expects increasing values for both my x and y axes, and a matrix
2010 Jul 30
2
Layering multiple persp plots
Hi all, I've got two persp plots with Identical X and Y's, and I'd like to plot them on the same graph, so that it is obvious where one plot is above the other. I can't find any mention of this anywhere. Do I need to use wireframe? Any help is appreciated. Thanks, -- Ian Bentley M.Sc. Candidate Queen's University Kingston, Ontario [[alternative HTML version deleted]]
2001 Feb 12
1
3d plots?
Hi all I'm trying to create a three-dimensional wireframe-type plot, much like the screenshot shown at http://www.r-project.org/screenshots/volcano-persp.jpg In my case, I'm trying to show a density estimate of two-variable system, using the GenKern package. I've used the image() and contour() to create a nice shaded plot, but I've found a 3d plot is often easier for the