similar to: plots: aspect ratio

Displaying 20 results from an estimated 20000 matches similar to: "plots: aspect ratio"

2000 Sep 11
1
plots: screwed up aspect ratio
This is a new problem: Old versions of R worked fine. I am not sure when it got broken. I am posting here instead of bugs in case this is not a true bug. New vanilla plots (I mean I don't fool around with par() etc) are screwed up in several ways: - the tick marks are twice as long as they should be - the gap between the end of the tick and the top of the numerical labels is twice as big as
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
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
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
2010 Mar 09
1
Obtaining the true aspect ratio for a lattice plot
I almost always supply my own aspect ratio when plotting using lattice. When I plot these to pdf, I would like to specify pdf dimensions that will result in minimal margins around the plot. In my application, resorting to a pdf cropper after plotting is not an option - I must do it in R. The problem is that I cannot determine the correct aspect ratio for the overall plot (accounting
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 *
2004 Jul 14
4
aspect ratio ?
Can someone enlighten me on what the status is of aspect ratio in theora is ? The ti structure has aspect_num and _den values, which I assume give the intended display aspect ratio (e.g. 4/3). The sample files on the bittorrent seem to say both values are 0 for all files. I'd think it should at least be made impossible to have a 0 as the denominator. The library doesn't check the
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),
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
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 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
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
2009 Aug 27
2
setting par(srt) according to plot aspect ratio
How can I look up the aspect ratio of a plot, so I can use that to correctly adjust the angle of text which is supposed to be parallel to a line in the plot? The following example code works for a 1:1 aspect ratio, but puts the text at the wrong angle if the plot region is short and wide or tall and narrow. I can't find a par() component containing the plot aspect ratio. It will be for
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
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
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 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)) +
2007 Apr 12
1
[PATCH] Resize improvements (Multiple resize modes, better aspect ratio constraining)
Hi, I have ported various improvements of Beryl's resize to Compiz: - multiple resize modes (aside to the standard "normal" mode those are "Stretch", "Outline" and "Filled Outline") - better aspect ratio constraining (you now also can resize aspect constrained windows from other edges than the lower right) - avoiding of mouse pointer desynchronization
2010 Nov 17
3
aspect ratio 1 and blank space
Hi, I need to produce an ordinary scatter plot and it is vital that the aspect ratio equals 1. I set the axis as: plot(x, y, type="n", asp=1, ,ylim=c(-80,70),xlim=c(0,100)). The problem is that I get some 'additional' blank plot area (basically, the lower bound of xlim becomes quite negative). The xlim is not the range of the x-data, but I need the 0 there for further
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?