Displaying 20 results from an estimated 10000 matches similar to: "Size of windows graphics device"
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
###############################################################################
Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version.
Happy New Year
Jens Oehlschlaegel
###############################################################################
2008 Jul 02
2
position legend below x-axis title
Dear helpers,
I'm using a R script on several different datasets, which makes that
axis scales may vary quite a lot from dataset to dataset. So what I'm
looking for now, is how to automagically find out how to position the
legend (horizontal) in the space below the x-axis title, and how to
make sure that the legend is within the limits of the lower inner or
outer margin?
I'm aware of
2009 Aug 17
3
Graphical Parameters
Hi Sir
How can I change plot size, figure size and device size? The examples availble for par() function are not very helpful. Would you please give a very simple example?
Best Regards
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
[[alternative HTML version deleted]]
2002 Jul 19
3
controling graphic window size and asprec ratio in windows
i am using the rarcinfo package
to draw maps.
for maps, th aspect ratio is quite important.
how can i control the aspect ratio and the size of a graphics window
in the mswindows version of R and more generally in R in general.
i would like to e able to both set the size before or while the window
is corrected,
and also for a window which already exists.
--
--
Erich Neuwirth, Computer Supported
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2006 Apr 11
1
Graphics device size
Dear All,
When working with composite plots many times I have to manually adjust the
graphics display window size to get the best results (in Windows XP). I can
then find the size of the adjusted window in inches using par("din").
Now I would like to export the adjusted graphs as png's and have them look
as close to the original display as possible. The problem is that the png
1998 May 24
1
R-beta: problem with graphics parameter "fin"
Hi,
I have the following problem (with R 0.61.3 an Linux, and a new and empty
workspace)
> oldpar<-par()
> par(oldpar)
Error: attempt to set invalid value for graphics parameter "fin".
> oldpar$fin
[1] 6.992034 6.990803
but now:
> oldpar$fin <- c(6.99,6.99)
> par(oldpar)
it works.
It seems, that if I set oldpar$fin to values greater than listed above
2000 Nov 09
1
RE: [R] Graphics-Device-Size vs. Window-Size
Hi Paul,
thank you for responding. I indeed overlooked, that units="inch" gives
stable results, independent of resizing the graphics window on the screen.
And indeed I would find some way fiddling around to get my graphic done.
However I see a general problem here and I would like a general solution:
Obviously we are dealing with two coordinate systems: the graphics device
size (call
2001 May 01
2
graphics library fltk
we still do not have dynamic graphics in R natively.
i just found out about a widget library called fltk
info is at
www.fltk.org
it has all the stuff r currently can do only through tcl/tk or
(as i do it) excel: sliders, knobs, spinners and so on.
it is multiplatform, there are production versions for
unixen and windows, and there is a beta for macs.
this could be a way of getting some of
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
2000 Nov 15
1
Graphics-Device-Size vs. Window-Size: R design flaw
Dear Prof. Brian Ripley,
thank you for answering.
> Can we step back a bit? I think we could probably do better
> than we do.
> No one envisaged people resizing graphics windows when the system was
> designed (as far as I can see), and locking aspect ratios (which
> S-PLUS now does) when re-sizing looks sensible to me. We
> might seriously
> want to consider scrollable
2007 Jan 24
4
Text position in Traditional Graphics
R 2.4.1 on Windows XP.
Question: In traditional graphics, is it possible to find out
the height of a line of text in units that can be used in
arithmetic and then in calls to text()?
Context: I have written a function that draws a plot and then,
depending on whether some arguments are TRUE or FALSE, draws
various lines of text in the plot. The text lines may be turned
on or off individually
2007 Jan 26
1
Inferring dimensions on bitmap device from par()
Hi,
I am trying to infer the dimension of an opened bitmap (png, jpeg,
bitmap device...) from par() parmeters. From the help on par(), I
found that:
> dim <- c(400, 200)
> png("foo.png", width=dim[1], height=dim[2])
> dim2 <- par("din") * par("cra") / par("cin")
> dev.off()
> dim2
[1] 399.9999 199.9999
I've tried the above on
2007 Mar 06
1
Obtaining figures with exactly placed points
Dear list,
I have to plot some geometrical shape given as list of points. My need
is the following: let's say my shape is a 1 inch large square; how can
I plot it with R in a graphic format that gives me an image *exactly*
1 inch large? I tried to set oma, mar and fin parameters, but with no
success.
I'm currently using the xfig driver for the final images are to be
included in latex
2010 Apr 16
3
run R script from Excel VBA
I wrote a R script say called computeCovarMatrix.R and i want to call and
run this piece from Excel visual basic. does anyone know how to do that?
thanks,
KZ
[[alternative HTML version deleted]]
2010 Mar 27
1
string width calculation
Colleagues,
I am trying to create a PDF document in which I use margin text with two different fonts. The resulting text might be:
XXXXXyZZZ
where X and Z are one font and Y is the other.
My plan was to do this in the following manner:
mtext("XXXXX ZZZ", cex=2, adj=0.5, family=SOMEFONT)
mtext("Y", cex=2, adj=??, family=DIFFERENTFONT)
My question regards how to calculate
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2000 Feb 25
1
r-excel interface code
some of you might be interested.
i just uploaded the first release of my
r-excel interface package to CRAN.
it is in
contributed extensions
nonstandard extensions
erich neuwirth
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2010 Feb 23
5
export tables to Excel files
Dear R users,
I've just posted a similar question about Illustrator.
This time I would like to export the results of my statistic tables and
my dataframes into Excel files.
Up to now I've used write.csv(), but I have to resave every file in .xls
in Excel.
I would like to know if there is a function or package to export
directly into *.xls.
I have found xlsReadWrite which would be