Displaying 20 results from an estimated 8000 matches similar to: "graphics landscape orientation"
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?.
pdf(file= 'my_file.pdf' ,onefile=T,paper='A4')
plot(sin, -pi, 2*pi)
dev.off()
Thank's in advance
Juan A. Hernandez
Spain
[[alternative HTML version deleted]]
2016 Apr 09
3
How to print the graphs in landscape/portrait orientation
Hi,
I made a few graphs by ggplot. The following codes produce a pdf file
with graphs in landscape orientation on my Windows PC, while they produce a
pdf file with the same graphs, but in portrait orientation:
*p2 <- lapply(1:(2*n), function(.x) xyz_outl[.x][[1]]) #a sequence of
graphs made by ggplot*
*m2 <- marrangeGrob(p2, nrow=3, ncol=2) *
*ggsave("xyz.pdf", m2)*
2002 Sep 23
3
Problems with tcltk package
Hello listers,
I have installed Tcl/Tk v8.4 on my system (Win XP, R 1.5.1). When I try to
load the Tcl/Tk package I get this error:
> library(tcltk)
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(tcltk) : .First.lib failed
Can someone help me, please?
Thanks,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2009 May 21
1
postscript problems (landscape orientation)
I use the following function to export some figures to .eps:
p.eps <- function(p, fname, title = NULL, width, height)
{
postscript(file=fname, onefile=FALSE, paper="special",
width=width, height=height, horizontal=FALSE)
print(p + opts(title = title))
dev.off()
}
Whenever I have a page consisting of *only* figures exported in this way,
Acrobat Reader shows them in
2002 Jun 11
3
show messages during a long process
Hi,
I have a function which takes some time to execute (20 sec.) and I want to
show the progress of the execution with simple messages such as "10% done",
"20% done", ... (with a simple "cat" function). The problem is that all the
messages appear together when the execution of the function is over. How can
I show each message at their corresponding time?
Thanks,
2002 May 03
6
problems with rexp ?
Does anyone know if R have any problems with the exponential random number
generation (function rexp)?
I comment it because I executed
data<-sort(rexp(100))
plot(data,dexp(data)/(1-pexp(data)),type="l")
and the graphic isn't constant.
(Note: exponential distribution have a constant hazard failure rate).
Thank you,
Juan
2002 Apr 11
6
extract week from date
Hello R-users,
Does anyone know how obtain the week of a date?
(in SPPS the instruction is "xdate.week")
Thanks,
Juan Ramon
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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
2002 Jun 10
3
%in% in R?
Hi,
Does anyone know if exists a similar funcion to %in% from Hmisc S-plus
library in R?
Thank you
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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 !) To: r-help-request at
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
Dear list,
I'm stuck with a little graphical problem. I'm generating several
lattice plots which are printed in a single postcript device opened by
> trellis.device(postscript, theme=canonical.theme("postscript",
color=F), file="an_phase2_graph.ps", paper="a4", pointsize = 10,
onefile=TRUE, horizontal=TRUE)
Everything works fine,but some of these
2002 Jun 18
5
insert number in vector
Hello R-users,
I need to create a vector inserting an 1 after each value of another vector.
For example:
vec1<-c(2,3,4)
I need to create a vector with the values 2,1,3,1,4
Does anyone know how create this vector without loops (vec1 could have 1000
elements)
Thank you,
Juan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2005 Mar 02
3
orientation of eps files
hello,
i have a problem with the orientation of eps files produced with the postscript() command. i have generated some eps files with R using:
postscript(file = filename, horizontal = FALSE, paper = "special", onefile = F
ALSE, height = height, width = width, pointsize = pointsize)
now, when i include these eps files into a standard paper document (ie. a4 paper, portrait orientation)
2011 Aug 04
4
Sweave - landscape figure
Dear R-users
I am trying to understand how Sweave works by running some simple examples. In the example I am working with there is a chunk where the R-commands related to plotting a figure are placed. When running R CMD Sweave ? , pdflatex the output is a portrait figure. I wonder whether it would be possible to change the orientation to landscape (not in the latex file but in Rnw file).
Many
2000 Feb 24
1
landscape plots
Is there a set of R expressions that has the same effect as the
following set of S-Plus 2000 expressions:
graphsheet(format="printer", orientation="landscape")
par(mfrow=c(2,2))
plot(x1, y1)
plot(x2, y2)
plot(x3, y3)
plot(x4, y4)
dev.off() # one page of landscape plots sent to printer
I am having trouble with formulating the equivalent of the first line of
the above in R.
2016 Apr 10
0
How to print the graphs in landscape/portrait orientation (revised)
Hi,
I made a few graphs by ggplot. The following codes produce a pdf file
with graphs, sometimes in landscape orientation, sometimes in portrait
orientation. I am using both Mac and Windows PC.
Question: how can I control the orientation of the pdf file? I try to
add a line pdf(paper = ?USr?) (or pdf(paper="letter")) in the following
code, but it does not work.
2013 Feb 13
1
plot rtf in landscape orintation
Hello All,
I 'm trying to plot R graph in landscape orientation in a .rtf file.
i 'm using library(rtf) for this.
do we have any option in addPlot() function to rotate the orientation of
the rtf file?
Thank you,
Deepthi BM
PGDB-10-10-04
Institute of Bioinformatics and Applied Biotechnology
Biotech Park, Electronic City, Phase I, Bengaluru-560100
2012 Apr 25
0
Excel file with landscape orientation with the Spreadsheet gem
Hi,
Does anyone know if there is a way to generate Excel spreadsheets
with
landscape orientation with the Spreadsheet gem?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2003 Oct 01
1
Acces violation ???
Dear R-listers,
I have created a "dll" and I call it from a R function. However R stops and
shows the message:
"Unhandled exception in Rgui.exe (R.DLL): 0xC0000005: Access Violation"
I get this error in other situations and I solved it verifying that all
parameters are called fine. (e.g., double precision -> as.double, integer ->
as.integer,...). I have verify this.
2007 Mar 23
2
landscape pdf
Hello together!
How can I plot a landscape letter-format plot? With postscript, I just
use the horizontal option and I get what I want, but it seems that the
pdf lacks this option. Well, I could do a ps2pdf conversion of the
generated ps-file. But is there a way to directly produce landscape
pdf-plots with R?
Thanks for any help.
Greetings,
Sebastian
2003 Sep 09
1
lattice plot - portrait / landscape
Hi,
How can I use portrait/landscape option in lattice
bwplot? Is there any option in trellis.device where I
can define this?
Thanks in advance,
Mahbub.