Displaying 20 results from an estimated 10000 matches similar to: "can't create png graphics under linux anymore"
2004 Sep 30
2
pointsize in png graphics
Dear all,
I'm trying to produce 2 png files, one consisting of an image plot and a
color-table (also an image plot) and the other one consisting of 4 image
plots and a color table. I'd like the color table to be exactly the same.
The way I proceded is the following:
for one plot and the color-table
png(file = png.file, width = 650, height = 800, pointsize = 16)
layout(matrix(c(1, 2),
2011 May 10
1
Saving multiple 3x3 TIFF graphics inside a loop
Dear Friends,
I have been trying to save multiple 3x3 (mfrow=c(3,3) graphics inside a loop
using tiff figure format (not using PDF or savePlot functions) with no
success. Could you please help?
Here is a simplified example code:
dat=data.frame (ID=rep(1:10,each=10),IDV=rep(seq(1:10),times=10))
dat$DV <- with(dat, 50+15*IDV)
dat=dat[order(dat$ID,dat$IDV),]
for(i in 1:10){
dt1 =
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]
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
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
Hi all,
I am trying to make tiff files of lattice plots at a resolution greater
than 300 dpi required by a journal (PLoS ONE). I have tried both the tiff
and bitmap functions. tiff keeps panel colors but reduces axes and tick
labels so they are nearly invisible. bitmap maintains correct label size
but only produces greyscale. Regular plots work fine with tiff; the
problem is only with lattice
2005 Nov 16
2
X11 error in png
Hi all,
When I ran a script containing the following codes:
png(paste(savepath,"a_rnaplot.png",sep = ""),width = fwidth, height = fheight,pointsize = fpointsize);
data_deg <- AffyRNAdeg(data_cel)
plotAffyRNAdeg(data_deg,col=cols,lty=1,lwd = "2")
#a <- par("fin")
legend("bottomright",sampleNames(data_cel),col=cols,lty=1)
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)
In the png function the value res seems to be inactive:
bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result:
witdh/heigth = 1920 <> 20.32 mm
ppi=2400
Results as expected
png(filename =
2008 Apr 29
1
ggplot2: setting global graphic parameters with png driver
Hi all,
I prepared a few charts with ggplot2, and was happy with the results as
displayed on screen.
I tried to draw them with a PNG driver instead. But I ran into several
problems while trying to increase the resolution of the picture.
Mainly, when I increased the picture size (e.g png(width=1024,
height=768) ), the texts (title, labels, etc...) where too small. I
tried to set the
2000 Oct 25
4
png output in batch
I'm trying to use R in a cgi script to produce graphics
files in png format, and I'm having a problem.
My shell command line looks like this:
R </usr/dfs/auction/eligibility.R --no-save >/tmp/R.out
and the line in the R script looks like this:
png ("foo.png", pointsize=18)
If I run outside the cgi context, it runs great. When
run as in a cgi script, I get this error
2009 May 29
1
png() error in recent R-devel on Windows
Hi,
Tested with the latest r-devel snapshot build for Windows (2009-05-28 r48663):
> png("test.png")
Error in png("test.png") : invalid value of 'fillOddEven'
The png() function is defined like this:
> png
function (filename = "Rplot%03d.png", width = 480, height = 480,
units = "px", pointsize = 12, bg = "white", res = NA,
2010 Aug 29
3
Saving plot to tiff, with high resolution for publication ?
Hello all.
A Journal we are sending an article to is asking for the following:
To ensure the best reproduction quality of your figures we would appreciate
high resolution files. All figures should preferably be in TIFF or EPS
format... and should have the following resolution: Graph: 800 - 1200 DPI
Photo: 400 - 800 DPI
Color (only CMYK): 300 - 400 DPI (DPI = dots per inch)
Since I am sending
2010 Jun 17
1
No graphics capability on fresh install of R2.11.0 on FreeBSD 8.0
G'day all,
I am working on a new FreeBSD 8.0 Server (remotely located), and have installed (now several times) R 2.11.0 but I cannot get any graphic outputs (everything else seems to be happening fine...)
During install I have noticed and checked that png, jpeg, cairo etc libraries are available - here is the build output :
R is now configured for amd64-portbld-freebsd8.0
Source
2007 Jul 31
2
Q: obtaining non-transparent background in png
I am not understanding something about generating PNG plots.
I have tried several ways to obtain something other than a transparent
background, but nothing I've done seems to change the background.
For example:
dev.print(png, width=800, height=600, bg='red', filename='example.png')
which I thought would give a red background, simply gives the same
transparent background I
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG
2005 Dec 30
1
Error in X11(paste("png::", filename, sep = ""), width, height, pointsize unable to start device PNG
Hi,
I got this error while using png() function in RedHat 9.0.
"Error in X11(paste("png::", filename, sep = ""), width, height, pointsize
unable to start device PNG"
It looks like the system lacks some library for graphics. Can anyone
tell me which rpm I should install to have png() function work with
out problem?
Thanks ...
2005 Sep 01
6
png scaling problem
scaling<-4
xywidth<-480
resolution<-150
png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling,
height = xywidth*scaling,pointsize = 12, bg = "white", res =
resolution*scaling)
......
barplot(xrow,col = barcolors,cex.axis=scaling, ylab="mean time till attachment in sec",cex.lab=1.2*scaling)
I tried to scale the barplot but there is one
2008 Feb 19
1
Bug using X11 on mac osx (for jpeg or png creation) (PR#10800)
Full_Name: Stephane Bonneaud
Version: 2.6.2
OS: OSX - Leopard 10.5.2
Submission from: (NULL) (195.221.233.130)
Hello,
I have a R code file containing the following code:
-------
# This code is in r2jpg.r
# myData is filled here with some data from a file
jpeg(filename="test.jpg",width=960,height=720,pointsize=16,quality=100)
plot(myData,xlab="anything",
2006 Nov 22
3
saving graphics in jpeg format
Dear R users,
I need to save a graph in jpeg format. After plotting the graph,
when the graphics window is active, in the File menu, the
Save as / Jpeg / 100% quality correctly saves the graph in jpeg format.
But I would like to know, how could I control the resolution (in dpi)
of the saved jpeg file? I need to produce a jpeg at 1200 dpi.
I have tried also the jpeg function in the package
2008 Mar 10
1
hclust graphics - plotting many points
Hello.
I have a distance matrix with lots of distances that I use hclust to
organise. I then plot the results using the plot method of hclust.
However, the plot itself takes around 20 mins to make due to there
being ~700 things in the matrix that I have distances for. I thus
would like to dump this to some graphics format which will let me
examine this further.
I tried dumping it to postscript:
2008 Dec 30
1
How to set plot resolution
Hi
I'm want to obtain a plot of 1200dpi tiff format, but I met some difficulty.
Could anybody show me some examples about it?
my code:
##############################################
tiff(file="shaw.tiff",width=8.6,height=8.6,units="cm",res=1200,pointsize=10)
plot(bal100,type="l",pch=20,col="red",lwd=1.5,axes=F,xlim=c(1,5),ylim=c(0,0.3),ann=F)
2003 Jan 31
2
png()/jpeg()
When I execute the following code, it works just like I want it to: three
pages of nine (or fewer) plots. However, when I execute the code with the
first and last lines uncommented, I get three pages (files), but the 2nd &
3rd pages have overlapping plots. It's like a new page wasn't created.
I'm pretty sure I've either misplaced or left out a crucial call to some