similar to: Two graphs of different sizes on one devise. How to?

Displaying 20 results from an estimated 6000 matches similar to: "Two graphs of different sizes on one devise. How to?"

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
2003 Jan 12
1
Loops Sweave and Many Figures
Is it any way? This code doesn''t work: %%%%%%%%%%%%%%% \multido{}{10}{ <<fig=T>>= ... @ } %%%%%%%%%%%%%%% Or: %%%%%%%%%%%%%%% <<1, fig=T>>= ... @ <<>>= <<1>> @ %%%%%%%%%%%%%%% Serguei Baranov, MSc. Max-Planck-Institut fur Molekulare Genetik Abteilung Lehrach, room 2.112 Ihnestrasse 73 14195 Berlin-Dahlem Germany Tel. 49-30-8413-1667 Fax.
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
2004 Apr 30
2
./configure --prefix and R_LIBS
Hi! I am installing R in non standard directory. ./configure --prefix=/non/standard/directory The installation works fine. But after starting R i get .libPaths() /usr/lib/R/library but they cant be there of course! Have I to set some additional switches during config? Eryk Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin 'v' tel:
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,0,0)) par(fig=c(0,1,0,0.33))
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()
2004 May 28
1
Is there a way to represent the ... argument in signature?
Hi! I guess that it cant work. but maybee I am wrong. I would like to define a function rbind. > rbind function (..., deparse.level = 1) { which works only for objects of class Myclass Is it possible to use something like setMethod("rbind",signature(...="Myclass",deparse.level="numeric") This gives an error. Or should I use rbind.Myclass Eryk. Dipl. bio-chem.
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,
2004 Jul 21
2
2 images with 2 color scales on one graphic device. How to get it?
Hi! Would like to plot two image plots with color scale (like levelplot (lattice) implements) in one graphic device. Tried to plot 2 levelplot's (lattice) (the data has not much in common) in one graphics device by setting par(mfrwo=c(2,1)) which does not work. Is there a way to force levelplot to use only a half of the graphic device? Is there a function like image which provides the color
2003 Jul 10
2
XML Package.
Hi! I have installed the new R on windows. I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they where a windows binary version. Has anyone old XML windows binary? Eryk Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail:
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
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)
2004 Jan 15
1
empty string
Hi! How to generate a empty string of a precise length without using a loop? I need a empty string (char **) to pass it with .C function to a c dll. The c routine writes the result into the string. Eryk. Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail:
2004 May 25
1
Hiding internal package functions for the doc. pkg-internal.Rd
Hallo! I would like that the internal package functions does not appear in the documentation. I placed they names as aliases in the file nameofmypackage-internal.Rd as advised. After R CMD check (which runs neatly) they are still listed in 00Index.html. Is there no way to hide internal functions from the doc? Have I overlook something? Sincerely Eryk. Dipl. bio-chem. Eryk Witold Wolski
2003 Nov 21
2
method names conflict.
Hi! I would like to give my objects functions like "subset", "union", et cetera and name it also in this way. But this functions names are already used in the base package and they are not generic. I am right in that if they would be generic then i still can use the neat names with my objects? I have the impression that there are more and more packages are going to be
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
2002 Apr 30
1
data.frame package?
Is there a library that is able for example to 1. merge 2 dataframes by row eg.: rbind(dataframe1, dataframe2):data.frame 2. delete a column from a dataframe del(dataframe, colname) or del(dataframe, colindex= 1):data.frame? 3. Select lines from a dataframe by a specific function ? select(dataframe, func=small(x){x<1}, colindex=3): data.frame? 4. converting all double columns of a data.frame
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">
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi! >library(cluster) In this lib a function called silhoutte.default is defined than on the R prompt it type >silhouette.default Error: Object "silhouette.default" not found R1.9.0 The same error are at R1.8.1 And I knew that a function silhoutte.default are present. But the same piece of code works in R1.6.2 ??? Eryk Dipl. bio-chem. Eryk Witold Wolski @
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!