similar to: plots: screwed up aspect ratio

Displaying 20 results from an estimated 3000 matches similar to: "plots: screwed up aspect ratio"

2000 Sep 11
0
plots: aspect ratio
After playing around I got everything to work. One problem was with the large pointsizes. I switched to small pointsizes and shrank the plot region. This shrank the gaps and tick lengths down to reasonable values. As for aspect ratio, I think the pty="s" did finally kick in somehow. In the old days this was not required; the dev.print width=, height= took care of that. Cheers, Bill
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 are any restrictions in R? Or what?
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs clipped off. par(mfrow=c(2,2)) plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction") plot(runif(10), ylab=expression(Delta * Beta^2),xlab="Prediction") plot(runif(10), ylab="Function(Lengthy Expression)",xlab="Prediction")
2009 Jun 17
1
Horisontal line in xtable
Hi everyone (Pardon the incorrect terminology of my previous post: "vertical line...). I have created a function that uses xtable to print table of frequencies and percentages with a heading and some sample information (the sample size and missing values). The function and example data is below. I want a horisontal line that separates the results from the sample information i.e. a
2002 Apr 13
2
trouble getting output from graphs, again
It seems like every time I try to do something a little different, I cannot get output saved just right. This is on RedHat 7.2 with R 1.4.1. The png output looks fine, but the eps output has the problem that the bounding box on the legend cuts the legend in half. I put a copy of a bad one here: http://lark.cc.ukans.edu/~pauljohn/ResearchPapers/meanProtest-box.eps When I asked about these
2005 Jan 25
3
Plotting only masked part of data
Hello, I have x and y data to plot (synthetic example): x <- seq(0,4*pi,by=0.1) y <- sin(x) I then want to plot (x,y) in those points where abs(y) is smaller than 0.5. As a first approximation plot(x[abs(y) < 0.5],y[abs(y) < 0.5]) is quite close - however I want to plot with lines, i.e. type="l", and then I get solid lines connecting the endpoint of one
2010 May 20
1
gpu scaling - aspect ratio issue
When I load an Infinity Engine game (in this case Baldur's Gate and Icewind Dale 2) I can't seem to get the aspect ratio to stick. If I set IWD2 to windowed it's fine, but if it's full screen it will either load as a window anyway or stick 1024x768 resolution into a 16:9 aspect ratio. I've fiddled with the nvidia control panel, but had no luck. specs: amd pII x4 955 gtx 260
2006 Aug 29
0
Small utility to modify Theora file aspect ratio / frame rate / cropping
Hello, I encoded a bunch of theora video files from my DVDs. I thought for a long time that mplayer was broken because it displayed the aspect ratio wrong. Then I found out that the aspect ratio I was specifying was supposed to be the pixel aspect ratio, not the video aspect ratio. (This is extremely confusing and I urge you to change the semantics of encoder_example. I also urge you to check for
2008 Feb 29
1
Poor encoding quality with etheora and aspect ratio problem
Hello, I wrote a theora video encoder based on etheora (and the examples provided with it) for Processing IDE (processing.org). I have some problem with the quality of encoded frames. eg. http://poux.be/tmp/movie.ogg And when I play the movie with mplayer or totem, the video resolution is changed from 640x480 to 854x480 (when i use ETHEORA_ASPECT_NORMAL in etheora_enc_setup). And if I try to
2005 Jun 16
2
heatmap aspect ratio
Hi all, Does anyone know of a fairly easy way to "stretch" a heatmap vertically? I've got 42 arrays and would like to be able to see as many significant genes as possible (right now I can only get 50 genes with it still being readable). In some comparisons there are several hundred significant genes. I've fiddled with the "asp" argument, but that doesn't
2007 May 15
1
Getting default aspect ratio from lattice
How can I get the value of the aspect ratio that is used in a lattice plot? In a levelplot for instance, the native units per cm of my x and y axes are different, and I need to know the aspect ratio so that I can correctly plot vectors. I know how to set the aspect in a high-level lattice function but I can't quite figure out how to get it. I would like call to levelplot() without printing
2007 Sep 09
1
Sweave figure aspect ratio
Hello, using Sweave, is there any option to preserve the original aspect ratio of plots generated from R code? Consider this Sweave chunk: <<test,echo=F,fig=T,width=2,height=2>>= x <- 1:10 y <- sin(x) par(mar=c(4,4,0,4)) plot(x,y, xlab="x label", ylab="y label" ) @ In Latex, I want to produce a plot of width 2 but don't care about the
2009 May 12
1
Graphic aspect ratio
Hi I've been playing with a 3x2 graphics device using the default size as it appears on screen. This has given me tall thin plots which I can resize by dragging the window and increasing the window width. However I was wondering if I can force R to produce square plots or set the actual aspect ratio. asp seems to affect data units, not on-screen pixel units. thanks mike -- View this
2010 Aug 19
2
Aspect Ratio
set.seed(1) x <- rnorm(n = 1000, mean = 0, sd = 1) plot(x = x, asp = 2000) Could someone please explain what the 'asp' parameter is doing?
2010 Dec 13
1
Plot's aspect ratio and pty
Dear All, I've been playing with pty, and it seems it does not produce square plots as it is expected to (or at least as I expect it to). Consider this simple example: par(pty="s"); plot(1:10, 1:10) This should produce a square plot, right? Well, if you have a look at the graph, it is not square! So, maybe the limits? par(pty="s"); plot(1:10, 1:10, xlim = c(0,11),
2004 May 02
1
contourplot, xyplot, aspect ratio, mfrow
Hi, I am gradually moving from the classical R plot functions to the library Lattice I have some questions about contourplot () and its arguments: 1/ I am working on geographical coordinates which makes necessary that the X (longitude) and Y (latitude) units be represented with the same distance on screen. This was obtained in the classical R plots with plot.default(x,y, asp=1,...) and then
2003 Jan 15
1
lattice: cloud: aspect ratio, labels, vertical lines
I am interested to know how to make for clouds: - aspect ratio = 1 - labels attached to points - vertical lines from the points to the x/y base plane I tried: t = c( 'A', 'B', 'C', 'D' ) x = c( 100, 0, 200, 100 ) y = c( 0, 100, 0, 100 ) z = c( 80, 0, 20, 40 ) q = data.frame( x, y, z ) rownames( q ) = t print(cloud( z ~ x *
2007 Jun 05
1
ggplot aspect ratio
Is there a way to control the aspect ratio of plots using ggplot? Specifically, I'm using the formula=a~b argument to produce a grid of plots, but the overall width of the result seems to vary for reasons that are obscure to me. This affects not only the appearance of the plots but the amount of space available for the title (which seems to be right justified relative to the right edge of the
2008 Oct 02
1
Contour Plot Aspect Ratio
Hello there, I have a fairly simple request (I hope!) I have produced a filled contour plot like this: library(grDevices) library(gplots) library(plotrix) filled.contour(contour, axes=F, frame.plot=TRUE, color=terrain.colors, ylab= "Length Along Flume (m)", key.title = title(main="Velocity\n(m/s)"), key.axes = axis(4, seq(0, 0.6, by = 0.1)), asp=2, plot.axes = {
2008 Jan 11
1
ggplot2, coord_equal and aspect ratio
Hi everyone, Hi Hadley, I am a heavy user of coord_equal() in ggplot2 since most of my data is spatial, on x,y coordinates. Everything works. However by enforcing an aspect ratio of 1 for the plotting region, coord_equal() usually wastes a lot of space if the region of interest is not a perfect square. For example: x=runif(10) a=data.frame(x=x*3,y=x) ggplot(data=a, aes(x=x,y=y)) +