Displaying 20 results from an estimated 701 matches for "inches".
2007 Sep 30
1
clipping viewports
...ow clipped outside of 6 x 6 inch window in the middle of the page?? Where does the 6 x 6 inch window come from? I would like to make use of the entire page.
> library(grid)
> pdf(file = "FarmMaps.pdf", paper = "a4")
> pushViewport(viewport(
+ width = unit(7.6, "inches"), height = unit(11, "inches"), clip = "off"))
> grid.rect(gp = gpar(col = NA, fill = "grey"))
> pushViewport(viewport(x = unit(3.6, "inches"), y = unit(3.6, "inches"),
+ width = unit(3.6, "inches"), height = unit(3.6, "...
2006 Feb 28
2
jpeg and pixels
Dear R People:
When using the jpeg function for plotting,
is there a way to set the size in inches, please?
There is an option for width and height in pixels, but
not inches.
Any suggestions would be welcome!!!!!
R Version 2.2.1 Windows
Thanks in advance!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hod...
2007 Feb 12
1
Width of a plotting point (in inches) in grid package
Hello,
I'm trying to determine the width of a plotting point (in inches) in the
grid package. I naively thought I could create a pointsGrob with only one
point and get the width (as tried below), but this results in an object with
a size of 0inches (changing cex has no effect). Does anyone have a better
approach? Of course, it would be dependent upon the graphics param...
2009 Jan 14
4
How to get legend outside of plot?
I am creating a CDF plot function more user-friendly than any default r
function. Depending upon the bimodality of the data (it is often bimodal),
or any other strange data trends, the points can end up gathering in just
about any corner of the plot. So, when I add a legend, whether I choose to
add it in the bottom right, top left, or wherever, it will sometimes end up
putting the legend right
2008 Dec 01
2
align two lattice plots with grid
...> par.settings = list(layout.width = list(panel=1, ylab = 2,
> axis.left =1.0, left.padding=1,
> ylab.axis.padding=1, axis.panel=1)))
>
> pushViewport(viewport(layout=grid.layout(nrow = 2, ncol = 1 ,
> widths=unit(6,
> "inches"),
> heights=unit(c(3, 2), "inches"))))
>
> pushViewport(viewport(layout.pos.col=1, layout.pos.row=1,
> just="center",
> name = "top"))
>
> print(p1, newpage=F, panel.width=list(4, "inches"),
> panel.h...
2001 Jan 10
0
Re: some problems with windows(rescale=) (PR#794)
...one
> > of the multiple interpretations.
> > [snipped]
>
> Running the risk to repeat me: I am convinced that R like S+ needs a stable representation layer to which a programmer can refer. This is the layer where we talk about "let's layout a DIN A3 Paper, let's use 2 inches margins" and so on and this layer should be independent of actual window size (presentation layer).
>
> One might whish, that R's grapic parameter do not refer to absolute measures and divide the device area rather with relative measures: "let's have 10% margins". Howev...
2006 May 12
1
inches to centimeters in Graph settings
Hi R users,
I made a few research on how to convert inches into centimeters for graphics
settings (especially width and height of the graphic device).
Apart from the function layout() wich can be settled in centimeters using
lcm(), I found that writing a function that convert centimeters into inches
(i.e. x/2.54) was probably the best answer.
Is there...
2007 Jun 15
3
[OT] 'gv' and fractional points
...after you have converted them to PS). Then
(veering back on topic ... ) you can submit the
numerical data to R and try your own analyses on
these data, and compare with what the article does.
However, this little window only gives the numbers
in whole points. Say a smallish graphic may print
out 3 inches wide or high. Then you get precision
of 1/216 per 3 inches or 0.4% of full scale. This
can be adequate on many occasions, but can be on
the coarse side on other occasions.
Even for a 6-inch-wide/high graph, you only get down
to 0.2% of full scale.
If it were possible to induce 'gv' to dis...
2003 Dec 11
2
FAX application does not work for me....
Hi,
I have tried to install and configure the FAX app using the steps described
in several mails on this list.
When a FAX call arrives on X100P, the fax extension is executed, which looks
like:
exten => fax,1,RxFax(/var/spool/asterisk/incoming/${CALLERIDNUM}.tif)
exten => fax,2,Hangup
It tries to negociate, but nothing is received at the end and the other part
times out.
More, after this
2009 Mar 23
2
how to save a plot in a given size in inches or centimeters
Hi there !
I'm ploting graphics and I'd like to save them as a .jpeg file for example,
but with a given size (in inches or cm).
I tryed the function windows() but I think it just changes the size of the
window and not the size of the graph that you're saving.
Then I tryed with the function par(din=(width=... height=...) ) but I guess
it's protected and I can't change the values.
Finally I tryed with...
2008 Jul 11
1
TeachingDemos question: my.symbols() alignment problems in complicated layout
...atrix(c(1,2,3,4),nrow=4,ncol=1,byrow=TRUE)
my_layout <-
layout(layout_mat,widths=c(1,1,1,1),heights=c(1.0,0.45,1.0,1.2),respect=FALSE)
plot(1,1)
plot(2,2)
plot(3,3)
plot(1:100,rep(c(9,1.5,2,8),25))
points(40,4,col="red")
points(50,8,col="red")
my.symbols(40,4,ms.polygon,n=3,inches=0.2,add=TRUE)
my.symbols(40,4,ms.arrows,angle=pi/2,inches=0.2,add=TRUE)
my.symbols(50,8,ms.arrows,angle=pi/4,inches=0.2,add=TRUE)
dev.off()
######################## END of TEST CODE ###############################
If i look at the output test.ps ... the first symbol is exactly where i
want it to...
2007 Mar 06
1
Obtaining figures with exactly placed points
...will do.
The piece of code:
xfig("R2fig.fig")
par(mar=c(0,0,0,0),oma=c(0,0,0,0),fin=c(1,1))#no margin, figure
dimension 1x1 inch
plot(0,0,"n",xlim=c(0,1),ylim=c(0,1),axes=F,ann=F)
rect(0,0,1,1)
dev.off()
gives me not what I want:
$ cat R2fig.fig
#FIG 3.2
Landscape
Flush left
Inches
A4
100.00
Single
-2
1200 2
# End of XFig header
2 2 0 1 0 -1 100 0 -1 4.000 0 0 -1 0 0 5
0 1111 0 0 1111 0 1111 1111 0 1111
And this is what it should be (drawn by Xfig itself):
$ cat Xfig.fig
#FIG 3.2
Landscape
Flush left
Inches
A4
100.00
Single
-2
1200 2
2 2 0 1 0 7 50 -1 -1 0.000 0 0 -...
2005 Nov 29
3
drawing a circle using symbols
...line y=3*x+1 goes through (1,4) and
(-2,-5) of the circle, but on Windows XP, R 2.20 the drawing was not
good at all, and the known solutions were not shown in the graph. I
guess I got it wrong? Is this use not intended ?
Best wishes
Troels Ring, MD
Aalborg, Denmark
symbols(x=1,y=-1,circles=5,inches=FALSE, xlim=c(-10,10),ylim=c(-10,10))
curve(3*x+1,-10,10,1000,add=T)
abline(v=c(-2,1))
abline(h=c(-1,-5,4))
2010 Sep 20
1
Adjusting Font Size: lattice / bwplot
Hello,
If you run the following code with lattice installed:
bwplot(voice.part ~ height, data=singer, xlab="Height (inches)")
There will be some text in the graph e.g. Soprano 1, Soprano 2, etc -
60, 65, etc and the title: Height (Inches). How can one make the font
for this text larger and/or bold? Also, is there a way to thicken or
bold the lines of the box and whisker plot?
Thank you kindly,
Michael
2013 Jan 20
2
"user units" in plotrix
hi all - i'm having some difficulty figuring out how to convert
between "user units" (which i can't find a definition for in the
plotrix package) and either (a) device units (e.g. inches with PDFs)
or (b) user coordinates along any particular axis.
as an example, suppose i set up a PDF device with inches, the device
has both outer and inner magins, and the plot region has drastically
different x and y coordinate ranges (e.g. xlim = c(0, 1), ylim = c(0,
SOME_VERY_LARGE_NUMBER))....
2003 Oct 28
5
rxfax problem
Hello,
I tryed out spandsp with libtiff-3.5.7 and with Asterisk from CVS.
I tryed to receive a fax on a CAPI channel. Finally I got a file with
8 byte length (/tmp/testfax.tif).
How can I do next?
Thanks in advance,
Thomas
ps: what are hardware requirements for sending/receiving faxes?
-- creating pipe for PLCI=0x101 msn = 2258589
> sent ALERT_REQ PLCI = 0x101
--
2005 May 13
1
Re: SpanDSP TXFax and multipage faxes problems
Hi !
Does anyone managed to send multipage faxes (in single TIFF file) with
app_txfax from spandsp package (i'm using 0.0.2pre18, libtiff 3.7.1)?
If so, I'm interested in format of TIFF file that has been sent sent
succesfully (tiffinfo <fax-filename>).
I'm having problems with app_txfax, sending first page successfuly 99 % of
the time, but never managed to send second or
2003 Apr 30
3
How to put 2 or more graphics in the same page ?
......
I have produced about 60 graphics and want to put them in one postscipt
file , possibly 4 graphics on each page. I can put all of them in the
same file (that's ok), but I can't find the way to put 2 or more
(precisely 4, in my case) graphics on the same page (each graphics is
about 6 inches (width) X 4 inches (height)).
Any help would be very much appreciated...
Aur?lien
2009 Apr 25
4
What is the 32 GB 2.5-Inch SATA Solid State Drive?
Does anyone know about this device?
SESX3Y11Z 32 GB 2.5-Inch SATA Solid State Drive with Marlin Bracket
for Sun SPARC Enterprise T5120, T5220, T5140 and T5240 Servers, RoHS-6
Compliant
This is from Sun''s catalog for the T5120 server. Would this work well
as a separate ZIL device for ZFS? Is there any way I could use this in
a T2000 server? The brackets appear to be
2003 Apr 23
3
Changing the size of the bounding box
Greetings all:
I have to create a graph that has very specific dimensions for
publication purposes. The graph is a semilog scaled graph and the
axes must range from 1 to 1,000,000 on the y axis and 0 to 100 on the
x axis. The x axis should be exactly 8 inches and the y axis should
be exactly 5.25 inches. I've been able to set the plot area to 8 x
5.25 using the par(pin=c(8,5.25)). The problem that I'm running into
is that R seems to extend my data range by 4% to create a "bounding
box" and this throws off the layout of my graph. Is...