search for: replot

Displaying 20 results from an estimated 59 matches for "replot".

Did you mean: replog
1997 Apr 24
1
R-beta: Replot?
Is there some sort of replot function, i.e., reproducing the current plot like gnuplot's command replot? Of course it's easy to issue a plot command twice, but after several lines statements it gets a little bit annoying ... and the plot disappears each time one resizes the window, changes from single plot to multiple...
2008 Sep 24
3
Changing a plot
Hello list, I've been working on this problem for a while and I haven't been able to come up with a solution. I have a couple of functions that plot a bunch of data, then a single point on top of it. What I want is to be able to change the plot of the point without replotting all the data. Consider the following example: x = rnorm(100,1,0.5) y = rnorm(100,1,0.5) plot(x,y,pch=16) points(x[35],y[35],pch=19,col=6,cex=3) What I want to be able to do is to change the purple point to a different value without replotting everything. I know this seems like an odd sugges...
2004 Mar 31
2
identify() and controlling label size
I thought this was going to be easy ... Can the label size of identify() be controlled by setting par(cex.*) because I'm having no luck? My only recourse is to save the index and position of the labels from identify() and use text() to replot them. Regards Alex Alex Hanke Department of Fisheries and Oceans St. Andrews Biological Station 531 Brandy Cove Road St. Andrews, NB Canada E5B 2L9 [[alternative HTML version deleted]]
2012 Dec 12
3
Fw: regarding plot
...g in origin pro, i want to plot a graph as like a pdf attached but with black and white lines. here radial axis varies from 0 to 1. and angular axis from 0 degree to 60 degree.and third axis which is depend on both radial and axial gives non intersecting lines. how can i read the data from plot for replot. vikas -------------- next part -------------- A non-text attachment was scrubbed... Name: fig23b.png Type: image/png Size: 90596 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121213/a448f449/attachment-0002.png>
2002 Apr 20
2
integration of a discrete function
Dear R list I am looking for a function in R that computes the integration of a discrete curve, such as a power spectrum, in a specified interval (in my case, that would be 'power in a certain frequency band'). I found only functions, such as 'integrate', that perform adaptive quadrature on analytic functions, and not on a curve specified as a set of (x,y) pairs. I have the
2005 Jan 06
2
animation without intermediate files?
...quot; in R by making a sequence of plots? I'd like to animate a long trajectory for exploratory purposes only, without creating a bunch of image files and then using another program to string them together. In Splus I would do this using double.buffer() to eliminate the flickering caused by replotting. For instance, with a 2-D trajectory in vectors x and y I would use the following: motif() double.buffer("back") for (i in 1:length(x)) { plot(x[i], y[i], xlim=range(x), ylim=range(y)) double.buffer("copy") } double.buffer("front") I haven't found an equi...
2006 Jul 19
3
Fitting a distribution to peaks in histogram
Hello list! I would like to fit a distribution to each of the peaks in a histogram, such as this: http://photos1.blogger.com/blogger/7029/2724/1600/DU145-Bax3-Bcl-xL.png . The peaks are identified using Petr Pikal peaks function ( http://finzi.psych.upenn.edu/R/Rhelp02a/archive/33097.html), but after that I am quite stuck. Any idea as to how I can: Fit a distribution to each peak Integrate the
2004 Nov 26
1
R information
Hello everybody, I'm a beginner to R language. That's why I have some questions deal with graphs. In fact, I would like to know if it is possible to draw a plot with 2 y axis against x axis (like gnuplot with the function replot)? In fact, I would like to plot in y1 axis, a temperature value for x values and in the same plot, plot y2 axis which represents the density for x values. And so analyse the data supperposition . I search this information into the fullmanual, but nothing help me! Someboby could tell me if this...
2007 May 25
1
how to mimic plot=F for truehist?
Dear Rologists, In order to combine plots I need to get access to the some "par"s specific to my plot prior to replot it with modified parameters. I have not found any option like "plot=F" associated with truehist and would like to know whether someone can point out how to overcome this problem. Thanks, Joh
2008 Aug 22
1
R and GNUPLOT
Hello, I am trying to send commands to GNUPLOT to load a .plt file that was generated with a C++ software module called with R, and to replot. I am able to open the program with shell.exec (below) but I am at a loss at what do next. Any suggestions?? shell.exec("C:\\ gnuplot \\ bin \\ wgnuplot.exe") Thanks >>>>>>>----------------------------------------------->>>> Tony Fristachi Battelle,...
2011 Jun 18
1
[rgl] Dynamically change the color of 3d objects
...it possible to change the colour of a set of points drawn with plot3d /without/ removing them from the scene? The idea is to create a presentation of a clustering algorithm, step by step, representing the currently assigned cluster by a colour. Removing all the points with "rgl.pop" and replotting them at each step works, but is kinda slow... Thanks! Fernando.
2005 Feb 23
1
basic question about changing limits on generated plots
...ms that the answer is "no", but I wanted to make sure. This seems to make exploratory data analysis somewhat more challenging. It also seems like it would be plausible to write a package on top of the standard graphics functions that keeps track of what you've done and automatically replots. Which makes me think, has someone already done this? Cheers, rif
2009 Nov 04
1
Patterned shading in ggplot
...he red bars in one pattern and the blue in another so they print out clearly. I tried changing colours to 1 light, 1 dark, but then the overlapping colour looks virtually identical to the darker one. I noted the option density in barplot, but couldn't get this to work in ggplot. I could just replot this as density plots using kernel smoothing, but quite like this format for the data I have. Any help much appreciated. library(ggplot2) xy<-data.frame(x=c(rnorm(1000), rnorm(1000,2,1)), grp=as.factor(rep(1:2, each=1000))) ggplot(xy, aes(x=x, fill=grp, group=grp)) + geom_histogram(binwidth=0....
2011 Aug 23
3
Change Variable Labels in Quantile Plot
...ion and want to change the variable labels: temp<-rq(dep~inc+age50, data=newdata, tau=1:9/10) temp2<-plot(summary(temp)) dimnames(temp2)[[1]]<-c("Intercept", "Per Capita Income", "% Age 50 and Above") But after I manually change the dimnames, I can't replot the graph (temp2). Any suggestions? K.
2013 Sep 24
1
recordPlot() on non-interactive graphics device?
..._any type_ of graphics device, or only for _interactive_ ones? For instance, windows(); plot(1:10); g <- recordPlot(); dev.off(); x11(); plot(1:10); g <- recordPlot(); dev.off(); Cairo::CairoWin(); plot(1:10); g <- recordPlot(); dev.off(); all produce 'recordplot' objects that replot the figure with replayPlot(g), whereas for instance png("foo.png"); plot(1:10); g <- recordPlot(); dev.off(); pdf("foo.pdf"); plot(1:10); g <- recordPlot(); dev.off(); produce "empty" replayPlot(g) outputs. Q. It it just a coincident that it appear that record...
2024 Feb 04
1
Help
Thank you Zhao for the code. When I replotted the graph after inserting the code in my script, it gave me this error message without plotting the graph: Warning message: In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : extra argument ?col? will be disregarded. My regards. *Jibrin Adejoh Alhassan (Ph.D)* Department of Phys...
2011 Sep 07
2
rgl 'how-to's
Doing a visual graphic and trying to make it "pretty" Here's simple chart to play with: library(rgl) dotframe<-data.frame(x=c(0,7,0,0,-7,0),y=c(0,0,7,0,0,-7),z=c(7,0,0,-7,0,0)) dotframe plot3d(dotframe$x,dotframe$y,dotframe$z, radius=3, type='s',col=c('red','green','blue','purple','orange','gray'), axes=FALSE, box=FALSE,
2001 Jan 09
1
Setting fontsize in dev.copy2eps
...The legend that looks OK on screen doesn't look OK in the PostScript image: the text extends out of the box. I try adding a fontsize command: dev.copy2eps(file="file1.eps", width=5, height=5, pointsize=5) This options seems to get ignored. I try setting cex to a smaller value, replotting the figure, and copying the result to EPS. Result: the font is smaller, but so is the text. Legend text still expands outside the legend box. All works well if I leave out the width and height arguments to dev.copy2eps. But then, the figure gets too large, and scaling down the figure to a...
2024 Feb 04
1
Help
...= 0.79, N = 161" ^ *Jibrin Adejoh Alhassan (Ph.D)* Department of Physics and Astronomy, University of Nigeria, Nsukka On Sun, Feb 4, 2024 at 4:45?PM Jibrin Alhassan <jibrin.alhassan at unn.edu.ng> wrote: > Thank you Zhao for the code. When I replotted the graph after inserting > the code in my script, it gave me this error message without plotting the > graph: > Warning message: > In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : > extra argument ?col? will be disregarded. > My regards. > *Jibrin Adejoh...
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
...RUE > require(graphics) [1] TRUE > require(stats) [1] TRUE > local({ y <- NULL xlim <- NULL size <- tclVar(50.000000) dist <- tclVar(1.000000) kernel <- tclVar("gaussian") bw <- tclVar(1.000000) bw.sav <- 1.000000 replot <- function(...) { if (is.null(y)) re .... [TRUNCATED] Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] bad window path name ".1". > demo(tkttest) demo(tkttest)...