similar to: par(fig) problem

Displaying 20 results from an estimated 2000 matches similar to: "par(fig) problem"

2000 Feb 14
0
summary : par(fig)
many thanks to P. Dalgaard, J. Fox, J. Lemon, JE. Paradis and J. Polzehl for their quick replies. The original posting is at the end of this summary. I've not well explained myself but I don't wanted to use par(mfrow) or par(mfcol) because I wanted to plot very different graphics and this solution doesn't match my needs. E. Paradis and P. Dalgaard made me discover a new (for me!)
1999 Dec 02
1
problem with par(fig=value)
hello all, I want to draw a figure with multiple plot on the same page using the par(fig=value) parameter but > par(fig = c(0, 50, 60, 95)/100, adj = 5/10) > eboulis(iris.acp) > par(fig = c(45, 100, 60, 95)/100, mgp = c(3, 1/2, 0)) > boites(iris.acp) draw the graphics on 2 different pages. what am I doing wrong ? thanks for your help. Mathieu [using R 0.65 under Linux Redhat
2017 Aug 25
2
about multi-optimal points
Hi R users, I have some sets of variables and put them into one dataframe, like in the following. How to choose a specific set of pareto front, such as 10 from the current datasets (which contains more than 100 sets)? And how to show the 10 points on one figure with different colors? I can put all the points on one figure though, and have the code below. I drew two ggplots to show their
2009 Feb 02
2
Sweave
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu (8.10), emacs + ess. Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file, but the resulting .tex will not compile. The file does not contain anything exotic, but it produces pdf figures, and that is where the problems come: library(tools) > Sweave("varioCoo.Rnw") Writing to file
2011 May 06
1
Sweave: no eps fig
Hi everyone, I'm using R, Latex and Sweave for some years now, but today it confuses me alot: Running Sweave produces only figures in .pdf format, no .eps figures. The header looks like this: <<echo=TRUE, fig=TRUE, label=Fig1>>= There was no error message. Does anybody have an idea? Any changes in the Sweave-package? Or a missing driver or something like that? I recently
2017 Aug 26
0
about multi-optimal points
HI lily, for the colouring of individual points you can set the colour aesthetic. The ID is numeric so ggplot applies a colour scale. If we cast ID to a factor we get the appropriate colouring. test_df <- data.frame(ID = 1:20, v1 = rnorm(20), v2 = rnorm(20), v3 = rnorm(20)) ggplot(data=test_df, aes(x=v1,y=v2, colour = as.factor(ID))) + geom_point()+ theme_bw()+ xlab('Variable 1')+
2000 Mar 15
1
evaluation is nested too deeply: infinite recursion?
hello R-users, I'm trying to port from S+4 a library called S2HTML. generic function HTMLExport, when called for a lm object, uses HTMLExport.lm which itself calls HTMLExport.list to export the summary. My problem is that HTMLExport.list may itself call HTMLExport (and so HTMLExport.list) for components of the lists that are lists themselves (like "terms" component of an lm object).
1999 Oct 06
1
R graphics & lyx
hello all, I get problems including graphics from R (0.64) into lyx (1.0.2). I don't understand the difference between .eps and .ps but I think the problem must be here. Does anyone can help ? thanks, Mathieu -- ----------------------------------------------------------------------- Mathieu Ros - 13 rue beviere - 38000 GRENOBLE - 04 76 491 370
2000 Mar 08
1
infinite recursion problem
hello r-users, sorry for asking a long question that may not be very relevant for the list but it's upsetting me and I get no other solution... I get a function HTMLExport.lm that uses another function called HTMLExport.list. My problem is that function HTMLExport.list works fine when used alone but HTMLExport.lm crashes with the following error : > HTMLExport(iris.lm) lm(formula =
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all, I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2008 Oct 13
1
MiKTEX-texi2dvi
Sorry, I forgot to include a reproducible example on my last e-mail but here it is: Since the file is large to be included here: The path to the foo.Rnw examples is: www.stat.umn.edu/~charlie/Sweave/foo.Rnw and is suppossed to produce a pdf like this one: http://www.stat.umn.edu/~charlie/Sweave/foo.pdf I have downloaded MiKTEX but I don't know how to make it work. Sweave and Stangle seem to
1999 Dec 09
0
setting par(fig) resets par(mfrow), par(mfcol)
Can we add a note to the documentation that setting par(fig) resets par(mfrow) and par(mfcol) to c(1,1)? Or are mfrow and mfcol now deprecated in favor of all the split screen stuff? (I was spending the morning trying to write some code that plotted multiple subplots within whatever plot region was active at the moment; I was able to set and reset fig successfully, but got very confused as to
2010 Feb 25
1
Updating a hexbinplot
Dear all, Considering this simple example of hexbinplot: mixdata <- data.frame(x = c(rnorm(5000), rnorm(5000,4,1.5)), y = c(rnorm(5000), rnorm(5000,2,3)), a = gl(2, 5000)) fig <- hexbinplot(y ~ x | a, mixdata) print(fig) update(fig, colramp = BTC) produces a bad (non-updated) legend. Compare it with: hexbinplot(y ~ x | a, mixdata, colramp = BTC) What
2003 Feb 06
2
Fw: Plotting in subareas using par(fig=) parameter
Any idea why I can no longer plot two graphs on the same graphics device using the par(fig=) parameter? A simpler par(mfrow=c(1,2)) does work, showing the two plots side-by-side, but I would like the first to be larger. This simple example fails: x<-c(1,1,NA,2,2,NA,3,3) y<-c(2,4,NA,3,5,NA,1,4) par(fig=c(0,2/3,0,1)) plot(x,y) par(fig=c(2/3,1,0,1)) qqnorm(x) When plotted, the last
2012 Aug 21
2
Sweave: R chunk inside caption?
Hi Folks, I'm surprised, but I didn't find this question addressed anywhere. I'd like to generate a LaTeX caption with R code. I've tried the code below, but I get the following TeX error: ! Argument of \@caption has an extra }. <inserted text> \par l.21 } Any thoughts? Perhaps I'll have to write the "\caption{}" text with R? thanks!
2012 Oct 30
1
print and execute functions in a package namespace
Let's say I have a package that consists of a set of functions, fig1(), fig2(), fig3() ..., each of which produces a plot, and perhaps some printed output, e.g., fig1 <- function() plot(1:10) fig2 <- function() plot(10:1) fig3 <- function() {y<-sample(1:10,10); plot(y); y} I'd like to produce a document (PDF or HTML) containing the listing of each function and its output,
2010 Nov 15
1
Sweave: Conditional code chunks?
I have a code junk that produces a figure. In my special case, however, data does not always exist. In cases where data exists, the code chunk is of course trival (case #1), however, what do I do for case # 2 where the data does not exist? I can obviously prevent the code from being executed by checking the existence of the object x, but on the Sweave level I have a static figure chunk. Here an
2005 Sep 16
1
setkeys and Sweave
Hi there: Using \setkeys{Gin}{width=1.0\textwidth} \setkeys{Gin}{height=10cm} \setkeys{Gin}{height=0.8\textwidth} all seem to work under R-2.1.1 under sparc, solaris2.9, but \setkeys{Gin}{scale=0.3} \setkeys{Gin}{angle=90} do not work. I have not been able to find relevant information, googling on setkeys proved confusing, at best. http://cnlart.web.cern.ch/cnlart/218/node85.html states:
2002 Apr 11
3
graphics in batch mode
Hi! The R-intro guide states that: "The graphics facilities can be used in both interactive and batch modes,.." but I'm trying both R BATCH commands.file and R --no-save < commands.file and, although I get no errors and the output file with the results is written to disk, I get no graphics. (I want the R function to leave results in a file that a shell script reads and use,
2009 Apr 14
1
using Sweave, how to save a plot in a given size
Hi, I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for Windows) using Sweave(). I'd like to save my plots in a given size. How can I do that ? The code is : \SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE} <<partI, echo=FALSE ,fig=TRUE, include=FALSE>>= plotFunction() @ \includepdf[pages=-]{figs/plot-partI} When I use