Displaying 20 results from an estimated 10000 matches similar to: "Background color with jpeg and png devices"
2000 Sep 19
3
getting lines with non-rounded caps?
I'm trying to get a plot with wide lines that don't have rounded end caps.
You can see the effect quite clearly with a plot like this:
plot(0:1)
lines(c(1.5,1.5),c(0,.5),lwd=20,col="red")
lines(c(1.5,1.5),c(.5,1),lwd=20,col="green")
abline(h=0)
abline(h=0.5)
abline(h=1)
The colored lines should be between the horizontal lines, but because of the
rounded end caps,
2000 Dec 06
2
Expression in plot text
I'd like to put a degree symbol in the title of a plot. Something like:
plot(1,main=expression("Data at " * 45 * degree * " North"))
That works fine, but I like the 45 to be the value of a variable, instead of a
constant, an in:
lat <- 45
plot(1,main=expression("Data at " * lat * degree * " North"))
But this doesn't work of course, the graph
2001 May 31
1
paper size in postscript driver
I have a non-PS printer setup to print under linux using ghostscript as a
filter. This printer has two paper trays, one has letter paper, the other
tabloid size paper. If I print from a program that uses a PPD file to
configure the printer, like StarOffice or The Gimp, I can select the paper
size from a nifty list. If I select letter size, the printer print with
paper from the letter tray. If
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
2005 Feb 25
5
[Rdev] any way to generate "bitmap" (tif, jpeg, png etc) files in R CMD BATCH
Hi Community,
here is the problem, Linux problem (reported to work on Windows). I need
to generate graphical output in any of bitmap format under the 'R CMD
BATCH'. Whereas the script generating png-s works perfectly in the R
session, such things as X11, png and jpeg are not usable in BATCH (they
cannot be switched on by --gui-X11 etc) and X11 is prompted to be
required for png. At
2000 Jul 25
1
NetCDF data?
Does anyone know of a module for R to access NetCDF datasets? I remember
reading about a module for Splus, but I can't seem to find anything on CRAN.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2010 Apr 29
1
Fidelity of lattice graphics captured to jpeg or png
I am generating images via lattice from Frank Harrell's RMS package.
These images are characterized by coloured lines and grey-scale
confidence intervals. I need to port them to Openoffice/etc, and have
tried both png and jpeg (at high quality), but in neither format can I
subsequently see the the grey scale confidence intervals. Other than
moving to LaTex, does anyone have other
2007 Jan 15
2
Problem with pdf, png, jpeg devices and files named CON on Window s
Hi
I cannot seem to create any files that have the name "CON" before the file
extension, i.e. all of the following fail:
> pdf("CON.pdf")
Error in pdf("CON.pdf") : unable to start device pdf
> jpeg('CON.jpeg')
Error in jpeg("CON.jpeg") : unable to start device devWindows
> png('CON.png')
Error in png("CON.png") : unable
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help
I want to display an image file in a new plot frame.
SVG is my preferred format, but I can also consider
PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick).
By way of background (although not material to this
posting), the image file is generated by a call to
'dot' (part of the 'Graphviz' suite) after the required
.dot file has been produced using hand-crafted R code.
2004 Jul 18
2
gray background in png
Hi all,
I'm having a problem creating png images with trellis.device. I would
like to create many plots with a white background using a sequence
number in the file argument (i.e. "%02d"). The first plot is as expected
with a white background. However, the second and all subsequent plots
have a gray background. I would like all plots to have a white (or
transparent)
2007 Feb 08
1
Impossible to get jpeg or png output
Hi,
When I want to output a png file, I have the following error message :
Error dans X11(paste("jpeg::", quality, ":", filename, sep = ""), width, :
inpossible de d?marrer le p?riph?rique JPEG
De plus : Warning message:
impossible d'ouvrir le fichier JPEG 'Test.jpeg'
or in english
Error in X11(paste("jpeg::", quality, ":",
2006 Mar 01
1
Problems to get a ctree plot (library party) in a file via jpeg/png
Hello All,
I am using library "party" and I have found a curious/strange behaviour when
trying to save the output of a ctree in a file via jpeg/png command.
If you use:
################
library(party)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq)
plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE)
###############
you get a
2007 Oct 16
4
Create *png or *.jpeg plot under Linux
I have an example where i plot an image and load it dynamically in an image
analysis tool to create
a film (dynamic graph). This works well under Windows but i can't plot to
*.png or *.jpeg files
under Linux (Ubuntu) with the same command.
I'm using:
png(file,width=200,height=200) or jpeg(file,width=200,height=200)
Any help is appreciated
With kind regards
Marcel
--
View this
2004 Nov 24
1
R 2.0.1 jpeg() png() pdf() Mac OSX 10.3.5 - empty files being created
Hi everyone,
I've been opening up R 2.0.1 from the dock and then starting the Mac OSX
X11 server.
After that I call
>jpeg("test.jpg",plot(rnorm(10)))
and r pops up a quartz window with the appropriate graph in it and puts a
file called test.jpg into the HOME which is 0kb in size and is completely
empty.
There is no error message.
I've tried
>png("test.png",
2009 Jun 17
1
Unable to use jpeg(), png() etc.....
Hello,
I 've just re-installed R 2.9.0 on ubuntu 9.04.
I do not understand why I am unable to use simple device function such as jpeg(), png()...
> png()
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, :
unable to start device PNG
In addition: Warning message:
In png() : no png support in this version of R
> capabilities()
jpeg
2008 Oct 17
0
beta symbol cut off in y axis label using jpeg/png/tiff
I am having trouble showing the Greek symbol "beta" correctly
in the y-axis label of bitmap plots.
Specifically, on my system the top of the "beta" symbol is cut off
using the following example:
file.jpg <- paste(tempfile(), ".jpg", sep = "")
jpeg(file.jpg, h = 3, w = 3, units = "in", res = 300, type = "Xlib")
boxplot(rnorm(10),
2006 Mar 01
0
Problems to get a ctree plot in a file via jpeg/png
Hello All,
I am using library "party" and I have found a curious/strange behaviour when
trying to save the output of a ctree in a file via jpeg/png command.
If you use:
################
library(party)
airq <- subset(airquality, !is.na(Ozone))
airct <- ctree(Ozone ~ ., data = airq)
plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE)
###############
you get a
2003 Dec 30
2
split.screen problem with jpeg/png device (PR#6223)
Full_Name: Steve Koehler
Version: 1.8.1
OS: Solaris and Windows
Submission from: (NULL) (192.55.214.50)
In the following program, if output is sent to X11, you get all four graphs,
but if output is sent to .jpeg, you only get the C and D graphs. A workaround
is to do all the screen splitting at the top, before using any screens. This
also
fails with .png output.
jpeg ("test.jpeg")
2009 Mar 03
1
dotplot() lattice charts return blank image (jpeg, bmp, png) file
Thanks in advance for the help. Trying to run a basic dotplot in lattice from R command line. When the file is created, in Fedora, it is blank image (jpeg, bmp, png). Image produces correctly in Windows environment. Libraries lattice and latticeExtra are loaded. Code:
-----------------
jpeg(file = "/tmp/img/temp31.jpg", width = 768, height=768)
xy <- dotplot(1:10)
print(xy)
2003 Jun 12
1
Problems for runing R in BATCH to generate PNG/JPEG files
Hello all:
After I compile the R-1.7 with the follows in
Linux7.3:
configure --with-x --with-jpeglib --with-libpng
--x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib
and make and make install. The R is able to generate
PNG/JPEG files from the command line. However, when I
put the same commands in a batch file and run:
R --gui BATCH R.Batch.file
It gave me a error in the