Displaying 20 results from an estimated 10000 matches similar to: "saving graphics in a file"
2003 Feb 24
3
Legend in plot: symbol for mean and standard deviation
Dear list,
I am facing the following problem with the legend of a plot that display
the mean and variance of a measurement y as a function of x, the mean
being represented by a dot and the variance by a vertical line.
My problem is that I am unable to display the symbol (dot + vertical
line) in the legend.
any help is welcome,
thanks
marco
--
2004 May 26
6
Saving Trellis Graphics in R 1.9.0. (PR#6915)
Full_Name: Zdenek Valenta
Version: 1.9.0.
OS: Windows XP
Submission from: (NULL) (147.231.7.250)
I could not copy/save (Trelis) graphics using R version 1.9.0. The graphics
displayed normally, but copying/saving it only produced an empty file.
Everything works o.k. with R rel. 1.8.1.
Best regards,
Zdenek Valenta
2003 Apr 29
2
plots
I have two separate questions.
The first is when I use xlab, the labels on my tic marks disappear. Is there
a way to make them reappear? Also, is there a way to make my own labels for
the tick marks?
My second question is, after I have spent a lot of time getting my plot to
look just right, I want to save it to a file, but the only way I seem to know
how to do it is to first use
2004 Jul 30
1
cannot print/save graphics.
Hi,
I'm running the latest version of R on a linux box.
plot() does produce a grahpics window. But is it
"normal" for that window to not respond to a left
or right mouse click?
What I'm really trying to do is the save the graphics
to a postscript file, but postscript() produces an "empty postscript
file".
Thanks,
Caren
--
http://www.nhn.ou.edu/~marzban
2004 Aug 31
1
(no subject)
A correction. You either need to open the plotting device prior to the
simulation that includes your plotting commands and close it after the
simulation or have the name change dynamically in your simulation so that
the runs go in separate files.
An example of the first method would be
postscript(file="/where/to/put/file/filename.ps")
## your simulation commands
dev.off()
for the
2010 Sep 07
1
what is the best way for an external interface to interact with graphics, libraries
Another message about the R to TeXmacs interface.
1. Graphics
The TeXmacs interface allows the user to directly insert graphics into the
session.
Since I am not very familiar with programming for R, I implemented the
interaction with graphics in a very primitive way. It was two modes of
working: with X11, and without (for example when working remotely through
ssh without forwarding X11).
In
2002 Nov 15
1
postscript()
Hi,
I've been trying out postscript() when onefile is set to FALSE. However
I'm having trouble understanding the documentation for postscript().
Suppose I want to do:
plot(1:10)
plot(1:10, type = "l")
and store them in foo.ps and goo.ps. Furthermore, I'd like to do then
with one postscript() command -- because this is just a simplified version
of what I really need
2000 Jul 31
4
Loop Delaying
Hi there,
I know this question may sounds strange, but here it goes:
Is it possible to delay the speed of a for loop? For example, if I
have:
for (i in 1:100) {
blah blah blah
}
within the for loop I want to draw a series of plots, and combining the
plots together I'll have an animation. Problem is the loop is too fast
and I only see the end result (which is not surprising actually).
2004 Jul 04
1
Embarrassingly naive question regarding graphics on Mac OS X
I am having trouble saving graphs. Using the Aqua interface (which is not
my preferred interface), I have no problems plotting a graph, adding
additional lines, points, references, etc., and then saving it to a file
using, for example, the dev2bitmap command. I have found that, running R
with Xemacs+ESS under X11 (which I prefer over Aqua), this is not possible.
I can either send the graph to a
2007 Nov 06
3
Saving Graphics File as .ps or .pdf (PR#10403)
Full_Name: Jane L. Harvill
Version: 2.6.0
OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2
Submission from: (NULL) (129.62.21.93)
PROBLEM: The ability to save the contents of an R Graphics window as a
postscript or PDf file through the drop-down menu (File -> Save As ->
Postscript, or File -> Save As -> PDF) results in the error message below being
printed to the R
2000 Aug 17
1
Things I don't understand about the graphics interface
Using R-1.1.1 on RedHatLinux 6.2.
I've made some progress, succeeded in outputting bitmap, jpeg, and png
files. Yipee.
I did them with this command:
> dev2bitmap("whatever.bmp",res=300)
> dev.print(png, file="myplot.png", width=480, height=480)
> dev.print(jpeg, file="myplot.jpg", width=480, height=480)
> dev.print(pictex,
2002 Sep 23
2
Change page in postscript()
Hi,
Another question about graphics...
Suppose I have:
par(mfrow = c(4, 6))
which will set up a figure region for 24 plots. But, I actually only need
23 plots. In fact I wrote a little function, foo.plot, which will draw
all the 23 plots at once with:
foo.plot(x)
where x is a data frame.
Now, suppose I want to draw several set of these 23 plots, but want to put
them all in one postscript
2003 Apr 14
6
Charts to M$Word - what's the best format
Hi
I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
the quality is poor when comparing with the postscript.
What is the best way to export a chart to be included in a M$Word file ?
Thanks
EJ
2007 Oct 17
1
Problem with saving pdf file graphics in R-2.6.0
Hi,
# Example of my problem of saving pdf file graphics in R-2.6.0
> x<-1:10;y<-1:10
> plot(x,y,type="b")
# attempting to save the plot as a *pdf file fails
# and the following error meassge is shown.
Error: Invalid font type
In addition: Warning messages:
1: font family not found in PostScript font database
2: font family not found in PostScript font database
>
2003 Jul 23
4
.ps files in R
I have recently "printed" in R to a postscript file. I'm working on a SSH
without an X terminal. It was fairly automatic:
> plot(x,y)
> dev.off()
And then the default creates a file called Rplots.ps which I can ftp to my
laptop and open in Ghostscript. I can see the file, and nothing looks odd.
However, when I import it into LaTeX, it refuses to configure right side up.
2001 Dec 07
2
Latex Question
Here is how to print graphs for inclusion in Latex.
First make sure you've got the graph you want. Do this by
repeating and editing the command to make the graph, in the usual
way. (Yes, I know Miktex is good, but it isn't as good as Emacs
with ESS, although I admit that I could never configure Emacs
properly on Windows - which was reason #23.5 for giving up
Windows.)
Second, say
2002 Dec 20
5
Getting graphs into LaTeX
Hello ALL:
I ran with success the following commands in R getting a file saved
------------------------------------------------------------------------------------
postscript()
postscript('~/data/st202/2003/lecture00/lecture00-graph-01.eps',
horizontal = FALSE, height = 6, pointsize = 10)
hist(trial.outcome.5, breaks = 5,
main = '1000 Replications of 5 Trials of a
2009 Mar 05
2
identify() and postscript output
In the following, I'm fitting a logistic regression model, and using
car:::influencePlot. When I run the latter with
output to the screen, it calls identify() that lets me label
observations with large CookD.
However, if I use postscript() to get .eps output, identify() seems not
to be called at all. If instead, I
use dev.copy2eps() after getting output to the screen, the point labels
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi,
When I place a legend on a plot it looks exactly as I intended
on the screen. However, almost always, when I export this to
postscript file, the legend's text protrudes through the legend's
frame (the latter being placed correctly).
See the appended example code. I can send the EPS file as well
for those that are interested (<4 kb; <200 lines).
I found nothing in the FAQS,
2006 Oct 04
5
R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX
Hello, I can't seem to save (or find the default location) when I use the Window
Graphic Device's pull down menu. It does not seem to save to the directory I
have set using "setwd(...)". How do I make the pull down menu's work?
What is the best format to save R graphics for inclusion into a LaTeX documents?
I will use PdfTex, or LaTeX -> PS -> PsToPdf to generate the