similar to: Adding a legend to R graph device with several plots (no to individual plots!)

Displaying 20 results from an estimated 4000 matches similar to: "Adding a legend to R graph device with several plots (no to individual plots!)"

2009 Aug 12
3
How to label and unlabel points on scatterplot with mouse pointer
Dear all, How can I label/unlabel points on scatterplot with mouse pointer. As the mouse approches near to point, it should label the closest point, then unlabel when it moves away. How can I do in R? I be very thankful. Thanks and Regards, Hitesh Singla -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
2009 Oct 02
3
plot scale
Hi, Is there a way to set the scale of a plot (i.e. number of axis units per centimeter) when you output it to postscript? If not, how am I supposed to plot graphs with different axis limits to the same scale? They just get resized to fit the paper so that graphs which show a smaller number of axis units end up with a larger scale. Cheers, Ben -- Dr. Ben Kenward Department of Psychology,
2009 May 27
3
Axis label spanning multiple plots
Hello I need to plot 3 graphs in a single column; the top two plots have the same title, and I would like it to be written only once, centered horizontally and spanning the two plots. Something like t +------------+ | | i | | | | t +------------+ l +------------+ | | e | | | | 1 +------------+ t
2008 Sep 01
2
Text
Hello, I would like to place some text that should appear in the same position of the graphic device, preferably outside the plotting area, regardless the x and y axes limits. How can I do this? Best, Dani -- Daniel Valverde Saub? Grup de Biologia Molecular de Llevats Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona Edifici V, Campus UAB 08193 Cerdanyola del Vall?s- SPAIN
2009 Mar 05
3
text at the upper left corner outside of the plot region
Hi, is there a way to place text at the upper left corner (or another corner) of the plot? I want to place it really at the upper left corner of the whole plot (the file I get), not at the upper left corner of the plot-region. I tried text() and mtext(), and corner.label() of the plotrix package but it didn't work out. thanks!
2009 Jan 14
4
How to get legend outside of plot?
I am creating a CDF plot function more user-friendly than any default r function. Depending upon the bimodality of the data (it is often bimodal), or any other strange data trends, the points can end up gathering in just about any corner of the plot. So, when I add a legend, whether I choose to add it in the bottom right, top left, or wherever, it will sometimes end up putting the legend right
2010 Aug 18
3
mtext coordinates
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100818/5f203714/attachment.pl>
2008 Jul 25
1
Matrix from List
Hello, I have a list in which each element is a list. I want to create a matrix indexed by the two indices of the list. I have been using do.call, but I am not getting what I want. Let me show you: > l.intercepts #the list that nests another list $`1995` $`1995`$`31` (Intercept) 25.37164 $`1995`$`33` (Intercept) 26.66755 $`2006` $`2006`$`31` (Intercept) 25.86621 $`2006`$`33`
2008 Jul 02
2
position legend below x-axis title
Dear helpers, I'm using a R script on several different datasets, which makes that axis scales may vary quite a lot from dataset to dataset. So what I'm looking for now, is how to automagically find out how to position the legend (horizontal) in the space below the x-axis title, and how to make sure that the legend is within the limits of the lower inner or outer margin? I'm aware of
2010 Oct 07
2
text/mtext axis labels on graphs
Hello everyone I have problem with axis labels on graphs, I have my code as below: plot(0,0,xlim=c(1,ncol(PA)),ylim=c(1,nrow(PA)),main="Stratigraphic Range",xlab="Time Bins",ylab="Taxa",cex.axis=1.5,cex.lab=2,cex.main=2.5,mgp=c(5,1.5,0),xaxt="n") text(1:(length(strat_name)), y= 0, adj=1, srt=45,labels=strat_name,xpd=TRUE, cex=1) #adds text to x
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Great. Thanks! Paul On 14/11/16 13:41, frederik at ofb.net wrote: > Hi Paul, > > Thank you, for some reason I didn't seem to get an email notification > for your bugzilla comment! > > I will try to send you something shortly. > > Frederick > > On Mon, Nov 14, 2016 at 08:55:20AM +1300, Paul Murrell wrote: >> Hi >> >> The current status is that
2007 Jun 16
1
Lines connecting the boxes in a boxplot
Hello, I'm currently using a boxplot to visualize data for three different models. As I have three models, I'm plotting three parallel boxplots for each factor. This works fine - what I need now is a line connecting the medians of each boxplot of each model. I want to do this in order to visualize the trend that one of the models exhibit. Basically, I want to plot a curve for each model
2005 Feb 14
2
Wishlist: simple legend options (PR#7400)
Hello! I was loooking in R-bugs and found under wishlist-fullfilled wish for "smart" placement of a legend. This has already been done in package gplots in function smartlegend. One question. This "bug-report" is under wishlist-fullfilled. Is it really fullfilled? Mail from Elizabeth --------------------------------------------------------------- It would be nice if
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to install "gplots" but to no avail. I have tried multiple mirrors and different packages (errbar) but after installation I seem to be unable to access any of the commands or help pages. I am a little concerned about the 'lib' missing message but this has been present for previous successful package
2004 Jan 08
1
Using split.screen
I want to draw a figure with several panels of unequal size, so i thought I would try using screen(). However, I can't figure out how to define the sizes as a matrix. I've tried this: split.screen(matrix(c(0,0.5,0,0.5, 0.5,1,0.5,1), byrow=F, ncol=4)) and a couple of variants on it, but get the same error: Error in par(.split.screens[[cur.screen]]) : invalid value specified
2004 Aug 20
3
legends on the outside of the "box"
Hi R People: Here is a simple set of commands: >x1 <- 1:10 >x2 <- sqrt(x1) >plot(x1) >points(x2,col="red",pch=3) >legend(2,8,legend=c("First","Second"),col=c("black","red"),pch=c(1,3)) > Fine. Now, I would like to put the legend box on the outside of the plot itself, perhaps in the lower left hand corner. I've been
2009 Apr 16
3
segment between points on different plots
Hi, I need to draw a line segment between two points on different plots in the same multigraph.I've tried looking at the zoominplot function in plotrix but havent understood much.any help is appreciated ~Aks [[alternative HTML version deleted]]
2008 May 19
1
Least Squares Restricted Estimator
It is there any implementation of a Least Squares Restricted Estimator for a single equation in R? I have seen in the list some examples in which linear constraints are embedded within the equation, but let's say that I have a large number of coefficients (on factors) that I want them to sum up to 0 (so I can include an intercept, the full set of factors, and avoid the dummy trap). Is there
2009 Feb 22
3
line joining graphs
hi, I need to draw a line joining graphs,but abline stops within a graph.What do i do to cover portions between two graphs -- Rajesh.J [[alternative HTML version deleted]]
2012 Oct 18
1
legend of maps generated by function symbols
I generated maps with the function symbols (graphics). These are basic maps generated with : symbols(x,y,circles=myvariable) where x et y are spatial coordinates corresponding to replicates of "myvariable". I would associate legend to this kind of maps, is it possible? Regards, Marion. -- Marion Jacquot Laboratoire de Chrono-environnement UMR UFC/CNRS 6249 USC INRA Universit? de