similar to: How to add legend of plot.Design function ( method=image)? (if (!.R.) )

Displaying 20 results from an estimated 7000 matches similar to: "How to add legend of plot.Design function ( method=image)? (if (!.R.) )"

2005 Aug 22
1
How to add legend of plot.Design function (method=image)? (if (!.R.) )
Hi, When running z <- plot(fit, age=NA, cholesterol=NA, perim=boundaries, method='image') Legend(z, fun=plogis, at=qlogis(c(.01,.05,.1,.2,.3,.4,.5)), zlab='Probability') And after pointing the cursor to the plot() screen in R, I obtain the following message: Using function "locator(2)" to place opposite corners of image.legend Error in
2005 Jul 14
0
New Package: TeachingDemos
This is to announce the new package TeachingDemos now available on CRAN. This is a collection of functions that I have used to demonstrate different ideas in various classes taught. Some of the first ones I wrote just to help me visualize what was happening, they latter were usefull in teaching others (both in a 1 on 1 setting, and in classroom type settings). A few examples (more are
2005 Aug 22
0
rgui on windows quiting automatically
Rgui on my computer has started acting funny (though I expect the problem is with my system rather than R, but hopefully someone here can still help). I am working with R version 2.11 on windows 2000. Rgui was working fine, then last week it started acting up. Now when I start Rgui (from shorcuts, or the commandline), the GUI starts up, but before the copyright and version info is printed I
2005 Aug 25
1
rgui on windows quiting automatically Resolved
I have resolved the problem I had with rgui quiting automatically. I am posting this mainly so that if anyone else in the future has the same problem there will be a solution in the archives. The problem was apparently with the file Rconsole that was in the directory "My Documents", when I deleted that file then everything started working fine again. Greg Snow, Ph.D. Statistical
2005 Jul 20
2
Is it possible to create highly customized report in *.xlsformat by using R/S+?
Your surest bet is to look into S+, not R, since the former does 'integrate' with Microsoft applications. To what extent, I don' know. This is a desirable feature (IMO) and a reason to use S+ rather then R (already discussed in different thread). Try the S+ newsgroup. > -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at
2016 Mar 15
0
[FORGED] Different results based on the order of arguments to par
Hi The main issue here is that the 'graphics' package has no real concept of going back to a previous plot (the 'grid' package has explicit support for that sort of thing). In 'graphics' you can only go forwards to the next plot; you can fake going back by creating a new plot that is like a previous plot. par(plt=, usr=) is not designed to return you to a previous
2009 Nov 30
1
Plotting color.legend() outside of plot region
Dear List, I am trying to plot a color.legend() in the right outer margin of my device region. I have read multiple threads on the subject and still can't get it right. I have stolen an example from one of the threads to demonstrate my problem. I have extended the outer margin using par(oma()), and have used par(xpd=NA) to tell it to plot in the device region. I can get the legend to plot
2005 Aug 22
0
How to add legend of plot.Design function ( method=image)?
Dear Rlist, How can the Legend of the plot.Design() function can be visualized? Following the documentation in R, I did the following (see below), only the 'Legend' function doesn't visualize the legend of the plot (method='image') of the lrmfit. I tried to change par( margin setting) but this didn’t solve it. How can this be solved? Thanks a lot, Jan
2016 Mar 15
0
[FORGED] Different results based on the order of arguments to par
Hi I'm going to try to blame user error here. par(usr) is used to reset the coordinates on the CURRENT plot. par(plt) is used to specify the location of the NEXT plot. The correct approach should be to set up the location for the next plot, start a new plot, set up coordinates on the new plot. Neither of your examples performs the "start a new plot" step. I would expect to see
2016 Mar 15
2
[FORGED] Different results based on the order of arguments to par
Paul, I was trying to make a minimal self contained example, but I guess I went too far on the minimizing. The original problem came from code more like: library(TeachingDemos) hist(rexp(1000), main='') abline( v=1, col='red') sp.par <- subplot(hist(rnorm(100), main=''), x='topright') op <- par(sp.par[c('usr', 'plt')]) abline(v=0,
2016 Mar 14
2
Different results based on the order of arguments to par
I ran into this issue when trying to modify a subplot (subplot function in the TeachingDemos package), but here is a more minimal example of the issue (I don't know that it is serious enough to call a bug): This code works how I expect: dev.new() hist(rexp(100)) par(plt=c(0.5,0.9,0.5,0.77), usr=c(0,1,0,1)) box() # show new plt region points(c(0,1), c(0,1), pch=16, col='red', cex=3)
2009 Mar 03
0
SAS Macros for R Users Only
I think SAS Macros has capability to call R, and execute it without it being in the picture anywhere. So you can use SAS Macros in a file called R.sas In this you can create a macro called %Describe that can call R , load Hmisc ,run the describe function Note you will need repeated use of %put in this %describe for the mapping to take place Use %INCLUDE to include that file in all SAS
2005 Dec 06
2
figure with inset
I am trying to plot a figure within a figure (an inset that shows a closeup of part of the data set). I have searched R-help and other sources but not found a solution. What I would like to do is (1) produce a plot (2) specify a window that will be used for the next plot (in inches or using the coordinate system of the plot produced in (1) (3) overlay a new plot in the window specified under (2)
2005 Nov 21
1
Howto? plot legend with no line behind the points
Hi R-help, We are using R 2.2 on Win XP and have a detail question on how the legend can be optimised. We use the following; -> plot(,type="b",...) The lines in the plot do not cross the points. How can we obtain the same effect in the legend? (points without a line through them..) We tried setting the pt.bg to white but this did not help. See script below. thanks, Jan
2000 Jul 17
0
Réf. : image legend
I would also be very much interested in having the image.legend function in R. The Splus image.legend uses the subplot function, which doesn't seem to be available in R, so one can't copy the Splus function to R (otherwise it would probably have been done already). I greatly appreciate the flexibility of the Splus image.legend function since it allow you to put the legend where
2005 Sep 29
1
How to add frame (frame.plot=T) to Plot.Design?
Hi R-help, When using the package Design and the plot.Design function all the graphs of an lrm.fit (lrm()) are plotted without a frame (only with axes). How can the frame be added to these plots? In the plot.default function the frame can be added/or removed via the frame.plot=T/F, respectively. e.g., plot(1,axes=T,frame.plot=T). How can this be done with plot.Design(lrm.fit) Thanks,
2010 Dec 06
0
Help with plit plot design in logit model
Hi, I'm trying to fit a logit model to a set of data that was collected under a split plot scheme. The structure of the data is Whole plot factors: Watering Frequency (2 levels: Hi/Lo) and Fertilizer type (3 factors A/B/C) Subplot factor: slope type (2 factors up/down) Response: Proportion of infected leaves(Infected leaves/Total leaves) of the plant (2 plants recorded from each plot)
2008 Mar 20
4
little subplot in corner
I want to draw a little subplot ("overview") into my detailed plot. It should be placed in say the top right corner and have the size of some legend (like legend(x="topright", inset=0.03, ...) #main plot plot(rnorm(100)) #give little density in corner plot(seq(-2,2,length=300),dnorm(seq(-2,2,length=300)),type="l") I don't want something like par(mfrow=c(1,2)) as
2011 Sep 12
4
trouble building an rpm
i'm a newbie at building rpms. I made a few rpms years ago, but can't now make one on Centos 5. In /usr/local/rpmbuild, there are 5 subdirs: BUILD RPMS SOURCES SPECS SRPMS tmp When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp: error: File not found:
2010 Jul 02
3
Combining several plots besides a dendrogram?
Hello all, I would like to recreate the plot shown here (from a useR 2009 presentation): http://www.agrocampus-ouest.fr/math/useR-2009/abstracts/pdf/Hocking.pdf I downloaded the code for that image, and discovered that it relies on external web services, and also having PERL installed on the computer. I believe this could be done "locally" using the "seqLogo"