similar to: Obtaining the true aspect ratio for a lattice plot

Displaying 20 results from an estimated 800 matches similar to: "Obtaining the true aspect ratio for a lattice plot"

2009 Mar 04
4
bug (PR#13570)
<<insert bug report here>> This is a CRITICAL bug!!! I have verified it in R 2.8.1 for mac and for windows. The problem is with loess degree=0 smoothing. For example, try the following: x <- 1:100 y <- rnorm(100) plot(x, y) lines(predict(loess(y ~ x, degree=0, span=0.5))) This is obviously wrong. R 2.8 --please do not edit the information below-- Version: platform
2006 May 23
1
RMySQL on Mac OS 10.4
I have been having trouble getting RMySQL to work on Mac OS 10.4. It was working fine for me about a year ago but I didn't touch it for a while and several upgrades of R, MySQL, and OS X later, it is not working. I first had the problem that others have been having getting the error discussed in https://stat.ethz.ch/pipermail/r-sig-mac/2005- November/002435.html saying that
2006 Aug 31
2
Event.observe problem
Hi everyone! I came across and interesting problem with prototype Event.observe. Take this code for example: <script type="text/javascript" src="cropper/lib/prototype.js"></script> <script language="JavaScript"><!-- function handler(e) { if (document.all) { e = window.event; } var key; if (document.layers) key = e.which; if
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
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)) +
2005 Apr 19
2
Aspect ratio and limits
Suppose I have the following data I want to scatterplot: > xy [,1] [,2] [1,] 0 0 [2,] 21 4 I start up a graphics window and fire away: > plot(xy) - but because the graphics window is square, the aspect ratio is wrong. So I add: > plot(xy, asp=1) - now the aspect ratio is correct, but the Y range is about -8 to 11, whereas my data has a Y range of 0
2003 Jul 23
1
Aspect ratio question
Hi, despite the warnings on the website ;-) I played with the current CVS source of theora on Windows 2000 w/ Microsoft Visual C++. The codec and the "experimental" example programs compiled fine. I also encoded a 33 MB MPEG2 (?) video (3 minute trailer) to a 14 MB .OGG using "mplayer -vo yuv4mpeg -ao pcm" and the "encoderwin" sample program, and play it with the