similar to: R-beta: first view, then save plot or image?

Displaying 20 results from an estimated 20000 matches similar to: "R-beta: first view, then save plot or image?"

1998 Mar 06
1
R-beta: image saved ps file
I include the argument pty="s" to image, but still when I make an image by the method > postscript("rstuff/test.ps") > tauseq<-seq(0,1,.5) > cif2d.image(x,,y,tauseq) > dev.off() the image plot created is NOT square. I thought pty="s" would make it square. Generally it would be nice if the image saved to disk were like the one we see while in R
1997 Nov 20
3
R-beta: edit figs with xfig?
Question for R users under unix: Do you ever edit figs created by R using xfig or some other program? I tried to edit a figure with xfig (a program which I find quite horrible by the way) and it said it couldn't read it in. I guess xfig has no capability of reading postscript files? Can anyone tell me how to do it, or perhaps suggest another freeware structured drawing program for use in
1998 Jun 03
4
lty
I find, viewing the output with ghostview, that lty="2","3", or "4" gives the same dashed line. So basically you have choice of solid ("1") or dashed ("2","3","4"). If this is not implemented yet, maybe the docs should reflect it? Hmm now I tried plotting with both lty="2" and lty="3" for two separate
1998 Jan 23
1
R-beta: image has white horiz lines
I have attached an image file created by R. The image has white horizontal lines between the cells. The image looks OK in the R Graphics window, but has the horiz lines when viewed in Ghostview (after using save.plot) or when printed out using print.plot. There appears to be a problem with the image code (maybe this will go away in the new version). I am running under Linux and am using 61.1.
1998 Jan 07
1
R-beta: image
Questions on image: 1) How can I put labels on the x and y axes? 2) How to tell it to use e.g. 32 grey levels (not some colour map)? 3) How to know what the legend is (i.e. each grey level = what z value)? Thanks very much for any help. BTW I was wondering if persp was on the To Do list. That would be great! Bill Simpson
2009 Jul 09
2
Save rgl plot3d Graph as Image
Dear Users: I wish to save 3d scatter plots I have generated using the plot3d command in the rgl package. Any image format such as .tiff would work. Can anyone tell me how to do this? Thank you [[alternative HTML version deleted]]
2004 Apr 05
1
save image as postscript side-effect (PR#6742)
Full_Name: Martin N?llenburg Version: 1.8.1 OS: Win XP Submission from: (NULL) (141.52.232.84) When I try to save any image produced by the plot command by choosing "file -> save as -> postscript..." in the menu, the settings for the decimal point are changed from '.' to ',' somehow. In the postscript output all '.' are replaced by ',' as well, so
2004 Mar 01
1
dev.print and X11(canvas = "black")
In Splus, I often use graphics windows with a black background and white foreground. The S print.graph() function sends the current plot to my printer but with a white background and black foreground. I'd like to be able to do something similar in R, but can't figure out how. I've tried various permutations of dev.copy() and dev.print(), but it seems that the foreground color is
1997 Sep 25
2
R-beta: return()
I have a question on the use of return(). (Nothing on it in the docs I have) The test code below gives the error: Error: Object "x" not found when I do: thingy2(). How should it be fixed? Thanks very much for any help! (My original solution to this sort of problem was to use global variables x<<-... y<<-...) Bill Simpson ----------------------------- thingy<-function(k)
2005 Feb 28
5
Journal Quality R Graphs?
Hi! I have browsed the help archives but did not find anything on the subject: How to make publication quality graphs with R best? Is there some document about that topic out there? The problem is that the graphs look nice on the screen but when printed in black and white every color apart from black doesn't look very nice. Is there some guideline how to set color palettes and or fill
2002 Apr 20
1
color of axis lines (PR#1470)
Full_Name: Robert Gray Version: 1.4.1 OS: Windows NT 4.0 Submission from: (NULL) (155.52.45.116) I can't seem to get axis tick marks in any color except black (I want to make plots for a slide presentation using a dark background.) Below is a simple example. I have tried this using postscript in the Windows version of R 1.4.1 and a version of R 1.4.0 compiled on a Sun-Solaris system.
2010 Aug 06
3
image plot but data not on grid.
Hi, Would like to make an image however the values in z are not on an uniform grid. Have a dataset with length(x) == length(y) == length(z) x[1],y[1] gives the position of z[1] and would like to encode value of z by a color. looking for something like plot(x,y, col = z) where col for z is cleverly chosen from a colorscale. Hope I made clear what I am looking for. Thanks Eryk
2005 Mar 30
5
2d plotting and colours
Hi! I am new to R just 3 days in it and i apologize if my questions seem very trivial and consumed your valuable time. I am coding in perl and i stumbled upon R regarding plotting good statistical graphs. I tried the kmean clustering for a large matrix ,say > 150 * 150 . I tried the example code given in the tutorial to perform 2d plot # i ranges from 2 to 10 cl <- kmeans(x, i, 20)
2008 Aug 30
1
Unable to send color palette through plot.Design to method="image"
I have been trying to specify a different color palette to the image method in plot.Design. My model has crossed two rcs() arguments and one two-level gender argument. The goal which appears to have been mostly achieved is to produce separate bivariate plots for men and women The call to plot does produce a level plot but it appears only with the default color palette despite various
1998 Mar 25
1
R-beta: qpois help
version .62: --------------------------------------------- > ?qpois The Poisson Distribution dpois(x, lambda) ppois(q, lambda) qpois(p, lambda) rpois(n, lambda) Arguments: x: vector of (positive) quantiles. p: vector of probabilities. n: number of random values to return. lambda: vector of positive means.
1998 Apr 03
1
R-beta: default paper size
After some paper clipping problems I checked options() and saw that the default paper size was a4; I need US Letter. So as per instructions I uncommented the R_PAPERSIZE line in config.site, R_PAPERSIZE=letter Restarting R, everything is still the same though. I guess I have to reinstall? That seems awkward. Is there a way a prompt ("a4 or letter paper?") can be inserted in the
1998 Apr 13
1
R-beta: command line editing?
I would love to have bash-like command line editing in R. (Press up cursor and see previous command line; use left cursor to go back then edit it) Appendix B in Rnotes describes Splus I guess, not R. Starting R by R -e doesn't let any of the following described actions (B.3) work. I don't use vi or EMACs (I use Nedit), so I would prefer bash-like interface anyway. (I don't think I
1998 Jan 16
1
R-beta: kill R Graphics window->crash R
I am running R-0.61.1 on linux under X. If I kill the R Graphics window (click on X box in upper right corner), then subsequently do x11(), R crashes. I find that things only work the right way if I close the graphics window using dev.off(). I was wondering if maybe it could be arranged that closing the graphics window via click would seem to R to be equivalent to typing dev.off(). BTW thanks
1998 Jul 03
1
R-beta: histogram
Can someone please tell me to make a density histogram? hist makes one with count or relative frequency on the y-axis. I want the density, which is (rel freq)/(bin width) In the help I see: intensities: values f^(x[i]), as estimated density values. If `all(diff(breaks) == 1)', they are the relative frequencies `counts/n' and in general satisfy
1998 Jul 03
1
R-beta: sum of squares and NAs
This surprised me. Is it the way it is supposed to be? > x<-c(1,2,3,4,5) > y<-c(1.2,1.3,1.4,1.5,NA) > x-y [1] -0.2 0.7 1.6 2.5 NA > (x-y)^2 [1] 0.04 0.49 2.56 6.25 NaN >>>so NA^2 = NaN? Why not still NA? > sum((x-y)^2) [1] NaN >>>yes that is reasonable So if you ever have a data set with missing observations (NAs), you can't do any nlm() least