search for: pointsize

Displaying 20 results from an estimated 400 matches for "pointsize".

2013 Sep 13
3
Problema con el tamaño de las letras en R en gráficos multiples
...############################################################################ ######################### # Una ventana, todo bien ######################### W = 12/cm(1) # Por defecto está todo en inch, con lo que paso cm a inch cada vez H= 12/cm(1) LAS = 1 LWD = 2 MFROW = c(1,1) MAR = c(2.5,4,1,1) POINTSIZE = 12 x11(width= W, height=H, pointsize= POINTSIZE) par(las= LAS, lwd = LWD , mfrow= MFROW, mar= MAR, ps= POINTSIZE ) plot(1) title(paste("Con una bien, comprobado en power point. Tamaños", POINTSIZE)) ######################### Segundo ventana de uno W = 12/cm(1) H= 12/cm(1) LAS = 1 L...
2004 May 18
1
Using pointsize with postscript trellis.device
I've been accustomed to specifying a postscript file and pointsize like so: trellis.device(postscript, file = "something.ps", pointsize = 8) Using version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 9...
2013 Sep 13
0
Problema con el tamaño de las letras en R en gráficos multiples
...############################################################################ ######################### # Una ventana, todo bien ######################### W = 12/cm(1) # Por defecto está todo en inch, con lo que paso cm a inch cada vez H= 12/cm(1) LAS = 1 LWD = 2 MFROW = c(1,1) MAR = c(2.5,4,1,1) POINTSIZE = 12 x11(width= W, height=H, pointsize= POINTSIZE) par(las= LAS, lwd = LWD , mfrow= MFROW, mar= MAR, ps= POINTSIZE ) plot(1) title(paste("Con una bien, comprobado en power point. Tamaños", POINTSIZE)) ######################### Segundo ventana de uno W = 12/cm(1) H= 12/cm(1) LAS = 1 L...
2003 May 06
1
pointsize - what is wrong?
Hello! When I am trying to produce plot with text with pointsize 30 or greater R sets up a default pointsize of 12 on plot. I need to set up a large pointsize to make large jpeg or png files (with good resolution). I can write text on plot with pointsizes 18,20,22, but i cant write text with pointsizes 25,26 and greater and i can not understand - why? Is there a...
2005 Jul 12
5
High resolution plots
Is there any possibility to get high resolution plots in a windows xp system? I tried it with the device function png(filename = "c:/r/highresplot%d.png",pointsize=12, res=900) but when I try to set: width = 480, height = 480 or pointsize = 12, the text is not scaled in the same way as the plots. with regards Knut Krueger http://www.biostatistic.de
2008 Jun 27
1
Sweave: controlling pointsize (pdf)
Hello, Is there a way to control pointsize of pdf:s produced by Sweave? I would like to have the same pointsize from (not a working example) pdf(file="C:/temp/example.pdf", width=7, height=7, bg="white", pointsize=10) plot(1:10) etc.. dev.off() as \documentclass[a4paper]{article} \usepackage[latin1]{inputenc} \usepack...
1999 Dec 13
1
pointsize?
A while ago there was a thread on graphics. I complained that the plots produced by dev.print had symbols and fonts that were too small. I said I had been using par(cex=2), but the advice was to use pointsize. I have tried ps, is that what was meant? par(ps=40) x<-rnorm(100) y<-rnorm(100) dev.print(file="~/junk.ps", horizontal=FALSE) No matter how big I make ps (40,60...), the biggest size plotsymbol I get is a circle with a diameter of 2 mm. Is there a way to get big axis labels and...
2004 Sep 30
2
pointsize in png graphics
...isting 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), ncol = 2, nrow = 1, byrow = T), widths = c(6, 1), heights = 1) par(mar = c(0.2, 0.2, 0.2, 0.2), mgp = c(2, 1, 0), las = 0) ... dev.off() for 4 plots and the color-table png(file = png.file, width = 650, height = 800, pointsize = 16) layout(matrix(c(1, 2, 5, 3, 4...
2005 Jul 22
3
problems with submitting an eps-file created in R
...mbol, Times, Charcoal, Chicago, Geneva, Georgia, Monaco, Zapf, New York Itried to ways of getting appropriate file: 1.Creating eps-file in R by drawing into a x11-device and then: /dev.copy2eps(file = "file.eps", onefile = TRUE, paper = "a4", family = "Helvetica", pointsize=1, print.it = FALSE, fonts = "Helvetica") /2. Generating a postscript-file in R with / //postscript(file = "file.ps", onefile = TRUE, paper = "a4", family = "Helvetica", width = 6, height = 2.2, pointsize=1, print.it = FALSE, fonts = "Helvetica"...
2003 Jul 11
3
postscript/eps label clipping
...") plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction") plot(runif(10), ylab=expression(Delta * Beta^2),xlab="Prediction") dev.print(postscript,file="foo.eps", horizontal=FALSE,onefile=FALSE,paper="special", pointsize=7, width=5,height=4) ?postscript seems to indicate paper="special", width=, height=, and pointsize= are the recommended way to produce nice latex graphics. If I don't set a pointsize, the letters aren't clipped, but the graphs are tiny with respect to the x/y labels. Is there s...
2001 Sep 27
2
ugly in plotmath: frac(1, sqrt(...)) (PR#1101)
...of 'cex' and 'lwd') the line of a square root symbol plottet in the denominator of a fraction appears to be in or above the line of the fraction. Examples: ### Choose one of these: # pdf("test.pdf", height=6, width=8) # bmp("test.bmp", width=1100, height=800, pointsize=12) # bitmap("test.tif", type="tiff24nc", width=12, height=9, res=300, pointsize=12) # png("test.png", width=1100, height=800, pointsize=12) # postscript("test.eps", height=6, width=8, horizontal=FALSE) par(cex=2, lwd=2) plot(1:10) text(2, 8, expression(f...
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 ...
2013 May 21
1
Lattice, ggplot, and pointsize
Hi! When inserting R plots into a document using odfWeave, I fought for a while to get Lattice plots use the same text size as base plots. I eventually discovered that specifying a point size via e.g. svg(pointsize=10) has no effect on Lattice plots. One needs to adjust the size manually via: trellis.par.set(fontsize=list(text=10, points=8)) This is also developed for both Lattice and ggplot2 by this blog post: http://gforge.se/2013/03/exporting-plain-lattice-or-ggplot/ So I am wondering whether is a by-des...
2000 Dec 15
1
resolution of windows metafiles
...problem (along with a postscript plot just to show that a smooth representation is possible): # PlotTest.R # 12/15/2000 # # Demonstrate some curiosities with windows metafiles xvals <- seq(0,1,length=101) yvals <- xvals^3 win.metafile(file="test.wmf",width=4,height=3.5, pointsize=12) plot(xvals,yvals,type="l") dev.off() postscript(file="test.eps",horizontal=FALSE,width=4,height=3.5, pointsize=12) plot(xvals,yvals,type="l") dev.off() windows(width=4,height=3.5,pointsize=12) plot(xvals,yvals,type="l") dev.copy(win.metafile,fi...
2009 Mar 24
1
segfault when running heatmap()
...(heatmap) and source() the script containing heatmap(). The sessionInfo() follows. Browse[1]> debug: op <- par(no.readonly = TRUE) Browse[1]> *** caught segfault *** address 0x103c93d53, cause 'memory not mapped' Traceback: 1: function (display = "", width, height, pointsize, gamma, bg, canvas, fonts, xpos, ypos, title, type, antialias) { if (display == "" && .Platform$GUI == "AQUA" && is.na(Sys.getenv("DISPLAY", NA))) Sys.setenv(DISPLAY = ":0") new <- list() if (!missing(display)) new$di...
2009 Apr 05
1
problem with lattice tiff or bitmap: character size and color
...roblem. `test` <- function(tiff=F, bitmap=F) { ### requires states ### states <- data.frame(state.x77, state.name = dimnames(state.x77)[[1]], ### state.region = state.region) if(bitmap) bitmap("bitmaptest.tiff", width=17.15, height=17.15, units="cm", res=1200, pointsize=10, type="tifflzw",bg="white") if(tiff) tiff(file="tifftest.tiff",width=17.15,height=17.15,units="cm", res=1200, pointsize=10, compression = "lzw") ### tiff(file="tifftest.tiff",width=17.15,height=17.15,units="cm",...
2002 Apr 13
2
trouble getting output from graphs, again
...s which have worked other times. I had the impression that if I set the size of the x11 device to match the eventual ps output size, then all would be OK. But its not this time. Here's my code: dat <- read.table("a816bstat7vis.csv",header=T); attach(dat) x11(height=6, width=6,pointsize=12) plot (pop,meanProtWnoActivists,pch=22, main="Mean Protest Level During Experiment",xlab="population",ylab="mean protest",ylim=c(0,100)); points(pop,meanProtW10Activists,pch=23,col="blue") points(pop,meanProtW20Activists,pch=24,col="red") le...
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...== --- src/library/grDevices/R/postscript.R (revision 47637) +++ src/library/grDevices/R/postscript.R (working copy) @@ -273,7 +273,7 @@ paper = "default", horizontal = TRUE, width = 0, height = 0, family = "Helvetica", pointsize = 12, bg = "transparent", fg = "black", - pagecentre = TRUE) + pagecentre = TRUE, defaultfont = FALSE, textspecial = FALSE) { ## do initialization if needed initPSandPDFfonts() @@ -281,7 +281,7 @@ if(!checkIntFormat(file))...
2010 Jul 25
3
X trouble in R on Ubuntu
Hello, As per the subject, I am unable to do the following: plot(1); The error message I get is ( as user postgres) No protocol specified Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, : unable to start device X11cairo In addition: Warning message: In function (display = "", width, height, pointsize, gamma, bg, : unable to open connection to X11 display '' I have tried looking around before posting to the mailing list, but I don'...
2006 Jun 03
2
Problem with pointsizes in Graphics
...or the points, e.g., n<-100; plot(0:n,0:n,pch='.',cex=1+(0:n)/20) then not all for all the points the horizontal and vertical dimensions are the same: Some points are larger in the vertical dimension, some are larger in the horizontal dimension. This behaviour doesn't depend on the pointsize itself but on the specific coordinate of the point, e.g., plot(runif(30),runif(30),pch='.',cex=2) and some points are thicker or higher than others. So it seems to me that it is not a good idea using pch='.' with character expansions greater than 1. But other characters have their...