search for: fig

Displaying 20 results from an estimated 541 matches for "fig".

Did you mean: fi
2010 Jul 20
1
Using" fig=" in one screen created with "split.screen()"
Hi, I successfully created 3 screens with the following: fig.mat<-c(0,.5,.5,.5,1,1,0,0,.5,1,.5,1) fig.mat<-matrix(fig.mat,nrow=3) fig.mat split.screen(fig.mat) I can plot three different plots on those 3 screens, but when I try the following: (Trying to create three graphs with a common x-axis but different y-axis on screen 1) screen(1) par(oma=c(3,3...
2004 Mar 22
3
Setting the 'fig' graphic parameter
Hi guys, # I would like to plot a figure with the following layout: # # ---------------------------- # | | | # | | | # | | | # | |--------| # | | | # | | | # | | | # --------...
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel 2.6.9-22.0.2.ELsmp); everything works more or less fine, it's functioning as the PDC with an OpenLDAP back end (setup essentially straight from the Idealx.org playbook), etc. We're trying to mount Windows shares to back them up, and getting "permission denied" errors when trying to read certain files from those
2000 Oct 27
1
par(ask=T) in termplot() (PR#711)
...nuel 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() && one.fig && length(which) > 1 && .Device != "postscript" > >Can you supply us with an appropriate patch for termplot and >termplot.Rd? The issue is somewhat subtle. So plot.lm() sets 'ask=F' if, eg, par(mfcol=c(2,1)) so that the first 2 plots cannot be really...
2003 Jan 28
1
can't create user entries in smbpasswd
...--- the /etc/nsswitch.conf looks like following # # /etc/nsswitch.nisplus: # # An example file that could be copied over to /etc/nsswitch.conf; it # uses NIS+ (NIS Version 3) in conjunction with files. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. passwd: files nisplus group: files nisplus # consult /etc "files" only if nisplus is down. #hosts: nisplus...
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 e...
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...
2012 Aug 21
2
Sweave: R chunk inside caption?
...21 } Any thoughts? Perhaps I'll have to write the "\caption{}" text with R? thanks! Sweave document: \documentclass{article} \title {test} \author {me} \usepackage{Sweave} \begin {document} \maketitle \DeclareGraphicsExtensions{.pdf,.png} \begin {figure} <<label=fig1, echo=FALSE, fig=TRUE, pdf=false, png=true>>= plot(runif(100), runif(100)) @ \caption { This is the caption with some r-code <<>>= 2*2 @ } \label {fig:1} \end {figure} \end{document} TeX document:...
2001 Jun 11
0
mult.fig() utility [was "margin text mtext"]
..., 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: 1. Give the function mult.fig an explicit local environment on definition: > environment(mult.fig) <- new.env() 2. Instead of using the superassignment operator, assign the restore list to the local environment of multi.fig (from within multi.fig): assign("old.par", ......, envir = environment(mult.fig)) 3...
2002 Feb 23
1
wish: postscript-device - LaTeX ec-fonts (PR#1322)
...ion 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 use such a file: dvips: Font CMR10 used in file fig.eps is not in the mapping file. dvips: Font CMBX10 used in file fig.eps is not in the mapping file. dvips: Font CMSL10 used in file fig.eps is not in the mapping file. dvips: Font CMBXSL10 used in file fig.eps is not in the mapping file. dvips: Font CMSY10 used in file fig.eps is not in the mapping...
2000 Oct 25
2
par(ask=T) in termplot()
Hi, I think it would be nice to have par(ask=T) set by default in termplot(), like it is in plot.lm(). Best, Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)
2006 Mar 24
1
Sweaving in png
...ictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf. Here is an example: ### in a .rnw document ### % here is an invisible chunck to create a picture <<fig =FALSE,echo=FALSE>>= png(filename='figs/myPic.png') @ % next, R code to generate picture <<fig=FALSE,echo=TRUE>>= ...[code to produce the figure] @ % then, close the device. Hidden, again <<fig =FALSE,echo=FALSE>>= dev.off() @ % and then, include it as a pic...
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))...
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 ? th...
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 Replace the 'bar' picture with any % jpeg picture to...
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 specifically Polish characters (like L-stroke, a-ogonek etc.) in my drawings' lege...
2013 Jun 19
2
knitr without R studio
...> Graph 2 <#location2> </p> ```{r table1, comment=NA, results='asis'} library(xtable) data(iris) print(xtable(head(iris, 10)), type = "html", include.rownames = T) ``` ```{r, include=FALSE} opts_knit$set(progress = TRUE, verbose = TRUE) opts_chunk$set(fig.width=20, fig.height=12) knit_hooks$set(fig.bg = function(before, options, envir) { if (before) par(bg = options$fig.bg) }) ``` ```{r graphs,fig.keep=?last?} for (x in 1:10) plot(rnorm(100), col = x) ``` ```{r graph1} plot(rnorm(500), type="lines", main="Graph1&quot...
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 3 month ago but I can...
2010 Aug 10
1
Sweave with dev.new()
...th the command 'dev.new()' in my code. Here is a basic example of a Sweave file which can hopefully illustrate the problem: \documentclass[a4paper]{article} \usepackage{Sweave} \RequirePackage{graphicx,fancyvrb} \title{Sweavetest} \begin{document} \section{Plotting} <<label=testfig,include=FALSE,echo=TRUE>>= dev.new(width=7,height=6,record=TRUE) plot(1:10,col="red") @ \begin{figure}[ht] \begin{center} <<label=fig,fig=TRUE,echo=FALSE>>= <<testfig>> @ \end{center} \caption{Testplot} \label{fig:test} \end{figure} \end{document} When I r...
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 lowe...