similar to: PNG resolution

Displaying 20 results from an estimated 20000 matches similar to: "PNG resolution"

2008 Apr 26
6
resolution (dpi) problem
I am using R 2.4.1 with Windows XP. I use the plot command in a fairly simple script and I use the right mouse click on the plot and save as a postscript file. I used the resultant file in a paper which was submitted electronically. However, I get the following response from the journal: Your manuscript has been unsubmitted because you failed to meet the submission guidelines as indicated
2008 May 07
2
figure margins too large for a barplot in png, pdf ok
I've used to have a script with a barplot command it in, preceded by a png: png(graph.file,height=H,width=W) barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines) -- worked before R 2.6.2. When I tried it in R 2.6.2, which I have for a while but didn't run with that script, it complained, the margins too large, and I've googled the messages from our list where neither
2008 Feb 27
2
png and pdf : point size, font size, etc.
Hi, I am new to this mailing list. Didn`t find the answer in the archives. But I guess, there are people out there, who know the solution: In an automatic script, I want to produce simple plots. First I prefer pdf, because of scalability and standardization. But when I have too many datapoints (say 300.000) the viewing and printing is very, very slow. So I decided to take some bitmapped format
2015 Jul 14
2
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
Dear all, In grDevices R functions cairo_pdf and cairo_ps it is mentioned that when transparency (alpha channels) are used in vector output, it will rasterize the PDF or postscript exported graph at a resolution of 72 dpi : https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/cairo.html You can see the problem if you try library(ggplot2) cairo_ps(file = "test.eps",onefile =
2004 Jul 28
1
Transparent backgrounds in png files
The result I'm aiming to achieve is a bitmap that can be imported into a PowerPoint file that shows what's behind the lines of the plot. There's a way in PowerPoint that almost works. By choosing a colour to set as transparent, what is behind the graphic is indeed visible, but it's at the expense of losing line and text definition. I notice there have been discussions about
2009 Dec 19
3
Inserting .png plots in MS Word.
Hi R Users, I'm using following sample code to save png plots. png(file="sample.png", width=8, height=6) Then I copy or use "insert pictures" function to get the image into MS Word. After copying, if I try to stretch or re-size the image it starts getting distorted. Is there a way to standardized graph pixels so that the sharpness of the graph is maintained (at least for
2007 Jan 26
1
Inferring dimensions on bitmap device from par()
Hi, I am trying to infer the dimension of an opened bitmap (png, jpeg, bitmap device...) from par() parmeters. From the help on par(), I found that: > dim <- c(400, 200) > png("foo.png", width=dim[1], height=dim[2]) > dim2 <- par("din") * par("cra") / par("cin") > dev.off() > dim2 [1] 399.9999 199.9999 I've tried the above on
2006 Jul 21
2
png() and image()
Hi, I try to create PNG images of a certain size where each pixel intensity corresponds to exactly one probe signal in an Affymetrix array. I try to use png() and image() with zero margins to do this. Example: z <- matrix(1:15, nrow=45, ncol=30) png("large.png", height=nrow(z), width=ncol(z), bg="red") par(mar=c(0,0,0,0)) image(z, col=gray.colors(16), axes=FALSE)
2010 Mar 12
1
Print density of 600 dpi for a plot
I have to create a plot with a print density of 600 dpi . Within R, is there a way to determine the print density of a plot? Any assistance is much appreciated, regards Bob
2011 Jan 12
3
Problems creating a PNG file for a dendrogram: "Error in plot.window(...) : need finite 'xlim' values"
Has anyone successfully created a PNG file for a dendrogram? I am able to successfully launch and view a dendrogram in Quartz. However, the dendrogram is quite large (too large to read on a computer screen), so I am trying to save it to a file (1000x4000 pixels) for viewing in other apps. However, whenever I try to initiate a PNG device, I get a "need finitite 'xlim' values"
2008 Jun 02
2
High resolution figures for a paper?
Dear Rusers, My manuscript has been conditionally accepted recently. The problem to generate the high resolution figures in R for the manuscript cannot be solved by me. The journal editor ask me to generate the figures with a minimum resolution of 500 dpi. I have tried the *menu-driven method* to save the figures as JPEG (100% printed quality), but the results seem not to be very good. I have
2005 Jun 08
1
variable png-size in multiple figure environment
If I put only one plot in a png, I can drag the generated png on the edges and it changes its size by this. But when I put several plots on the same sheet using mfrow, the size can no longer be changed when viewing the file, and the resolution is bad. What do I need to do to keep the variability of size in a multiple figure environment?
2013 Apr 16
1
Change the default resolution for plotting figures?
Hi, I want to save a plot in the windows device as png and the default resolution is 72dpi. Is it possible to increase the default resolution to for example 300 dpi? I have thought of using function png(..., res=300), but the problem is that the figure produced this way looks different than the one shown in the windows device. One notable difference is the missing of some ticks in the x
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
2010 Dec 14
2
300 dpi and eps:
Hi, I have a run of 5 graphs that I want to place them under the same page. Everything works fine to place them in a pdf file , or eps file, but when it comes to have a high quality of 300 dpi these graphs are not good. For example I open the eps file with Adobe Illustrator (AI) and it shows that it is a 72dpi graph. If I start with a 72dpi graph AI cannot improve this to 300 dpi. Q: HOW CAN A
2000 Aug 03
1
PNG files and the png function
I can use a postscript device to produce a file which I can open with the Gimp, then save quite a good png file. If I try to use the png() function directly, I get something rather like a graphics screen dump. The help file doesn't tell me whether it should be like that or not. _ platform i686-pc-linux-gnu arch i686 os linux-gnu system
2003 Oct 21
2
png() and/or jpeg(): line missing by using box(which="outer")
Dear R list, I do encounter the following problem by generating either a png-file (example below) or a jpeg-file: By employing 'box(which="outer")' a box is drawn, except for the right line. If I generate the plot without the 'box(which="outer")', a line at the bottom in the graphics file still appears. However, both plots are displayed correctly in the R
2008 Apr 06
1
[R-SIG-Mac] sizing of quartz
Those are good news. Prof Brian Ripley wrote: > You didn't tell us the version of R. quartz() is different in 2.7.0 > alpha, and there the function arguments do work (and the size is > really as advertised and not at a notional 72dpi). In fact, it is a > much more standard device and interface, so less to learn. > I assumed that > version provides most of the
2006 Jul 21
1
setting image resolution with Rmagick
Hi Has anyone had success with setting image resolution with Rmagick. I am resizing an uploaded image with Rmagick, problem is it keeps the original images resolution and I want to change it to 72dpi. <<<<<< code example >>>>>>>>>> # these are the various techniques I have tried when and after reading the file, trying any or all of them does
2004 Apr 20
2
[OT] Using GS to create .tif files
I've managed to use GhoustScript (gs) to take a postscript file and convert it to tiffg3, but I CANNOT seem to make it merge multiple files. Here is the output from tiffinfo on the file that SG generates: fteTYGeh2v.tif: TIFF Directory at offset 0x8 Subfile Type: multi-page document (2 = 0x2) Image Width: 1728 Image Length: 1056 Resolution: 204, 96 pixels/inch Bits/Sample: 1