similar to: Using" fig=" in one screen created with "split.screen()"

Displaying 20 results from an estimated 2000 matches similar to: "Using" fig=" in one screen created with "split.screen()""

2004 Mar 22
3
Setting the 'fig' graphic parameter
Hi guys, # I would like to plot a figure with the following layout: # # ---------------------------- # | | | # | | | # | | | # | |--------| # | | | # | | | # | | | # ---------------------------- x <- rnorm(100) y <- rnorm(100)
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
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
1998 Jan 30
1
R-beta: Fig driver for "R"?
Hello all R users and developers! In the "Notes on R" I have found the following information: (page 60, 13-th footnote) "... a better solution is to use the fig() driver (available from statlib) and use a conversion program, such as fig2dev, to convert the resultant fig code to Encapsulated Podtscript." I was very glad to read it, because I'm often forced to use
2000 Feb 14
2
par(fig) problem
hello R-users, I'd like to plot four graphics on the same page but with different sizes. I've tried to use : par(fig=c(0,0.5,0,0.6)) plot(fig1) par(fig=c(0.5,1,0,0.6)) plot(fig2) etc... but when a figure is plotted, it erase the previous. I've tried to pass 'new=T' to plot function but it's not possible. What can I do ? is it a bug ? I've already reported this a 2 or
2005 Nov 18
1
How to plot two dataset in one fig?
Hi all, I am new in R tool. I would like to plot two dataset in in fig. Here is what I did for both a and b data sets jpeg(file="a.jpeg") dat<-read.table('a', header=F, sep=',') dim(dat) y<-dat[,1] y<-y[!is.na(y)] plot(y);lines(lowess(y, f=0.05), col = ("red"), lwd=5) dev.off Two questions: 1. How I can save this lowess smooth data? 2. Once I
1998 Mar 26
1
R-beta: multiplot using fig
I followed Bill Venables's suggestion and tried to make a multiplot figure with fig (using R .62). > x<-rnorm(100) > y<-rnorm(100) > x11() > par(fig=c(0,2/3,0,1)) > plot(x,y) > par(fig=c(2/3,1,0,1)) > qqnorm(x) > postscript(file="twoplot.ps") > par(fig=c(0,2/3,0,1)) > plot(x,y) > par(fig=c(2/3,1,0,1)) > qqnorm(x) However
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
2008 Jul 06
1
Backgrounds in Multiple Plots made with "fig"
The following code was adapted from an example Vincent Zoonekynd gave on his web site http://zoonek2.free.fr/UNIX/48_R/03.html: n <- 1000 x <- rnorm(n) qqnorm(x) qqline(x, col="red") op <- par(fig=c(.02,.5,.5,.98), new=TRUE) hist(x, probability=T, col="light blue", xlab="", ylab="", main="", axes=F) lines(density(x),
2010 Mar 30
1
Paik, et al., NEJM, 2004, Fig. 4, rate of event at 10 years as a function of covariate
Does anyone know how to make a plot like Fig. 4 of Paik, et al., New England Journal of Medicine, Dec. 30, 2004? Given survival data and a covariate, they plot a curve giving "Rate of Distant Recurrence at 10 Yr (% of patients)" on the y-axis versus the covariate on the x-axis. They also plot curves giving a 95% confidence interval. Thanks very much. -Ben The information in this
2001 Jun 11
0
mult.fig() utility [was "margin text mtext"]
Martin, I have an objection in principle to anything that has the side-effect of clobbering something in the global environment, even something as innocuous looking as "old.par". I certainly object to putting something like that into a public library, however clever and useful the code might be. It just is not safe. As a quick way round this I suggest the following (R only) solution:
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 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
2000 Oct 27
1
par(ask=T) in termplot() (PR#711)
At 11:57 25/10/00 +0100, Brian Ripley wrote: >> Date: mer., 25 oct. 2000 12:38:55 +0200 >> From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> > >> I think it would be nice to have par(ask=T) set by default in termplot(), >> like it is in plot.lm(). > >Well, it isn't really the default in plot.lm, the default for `ask' being > >interactive()
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,
2002 Feb 23
1
wish: postscript-device - LaTeX ec-fonts (PR#1322)
Full_Name: Christof Boeckler Version: 1.4.1 OS: linux 2.4, x86 Submission from: (NULL) (217.233.100.207) Hello R-gurus, I have a little contribution to the wishlist: Since (?) I am using the more recent ec-font-family with LaTeX instead of the original cm-family, I did not manage to use this new feature about using (TeX's) cm-fonts for PS-output. I got the following errors when trying to
2008 Aug 09
0
$FIG FUTURE INCOME GENERATOR$
*$FIG FUTURE INCOME GENERATOR$* ** ** *HIGH PAYING SIMPLE ONLINE SURVEY* *EARN $5-$75 PER SURVEY* *CREATE FREE ACCOUNT* *OTHER DETAILS LOG ON TO* *http://www.AWSurveys.com/HomeMain.cfm?RefID=karthick777<http://www.awsurveys.com/HomeMain.cfm?RefID=karthick777> *** *http://www.AWSurveys.com/HomeMain.cfm?RefID=karthick777<http://www.awsurveys.com/HomeMain.cfm?RefID=karthick777> *
2008 Nov 03
1
Sweave: side by side dynamic graphs
Hi all: I'm trying to create some side by side dynamic graphics on the same page but I am running into some problems. I am able to create side by side figures only if I import them into my PDF. see the example bellow: \documentclass[12pt]{article} \usepackage{color,cite,graphicx}% to put in axodraw \usepackage{latexsym,amssymb,epsf} \begin{document} %Import two figures side by side. Please
2010 Aug 10
1
Sweave with dev.new()
Dear list. I am preparing a R package, and the last step is to write a package vignette using Sweave. However, I am experiencing some trouble when trying to include plots in my Sweave document. That is, in my package I have made some plotting functions in which I start by calling 'new.dev()' to start a graphics device of a certain width and height, and then proceed with plot(). These
2013 Jun 19
2
knitr without R studio
Hello folks, I`m using knitr on R studio, which make it easy to use, but a coworker of mine would like to run it on "simple" R. So I was wondering if you know what is the equivalent of the button "knit HTML" in RStudio in R. I tried knit2HTML( <html> <head> <title></title> </head> <body style="background-color:white">