search for: drawpoint

Displaying 7 results from an estimated 7 matches for "drawpoint".

Did you mean: drawpoints
2017 Sep 27
1
need held in r coding.
..._data <- cbind(close_xts,fit_xts,majorlandmarks_xts,minorlandmarks_xts) Error:------------- order.by requires an appropriate time-based object dygraphs::dygraph(landmarkschart_data, xlab = "Time",ylab = "Price") %>% dySeries("..1",label = "Close", drawPoints = FALSE, strokeWidth = 1, color = "black") %>% dySeries("..2",label = "Fit", drawPoints = FALSE, strokeWidth = 1, color = "red") %>% dySeries("..3",label = "Major LandMarks", drawPoints = TRUE, pointSize = 5, strokeWidth = 0,...
2010 May 04
3
Kernel density estimate plot for 3-dimensional data
...imate plot for 3-dimensional data in ks-package. Here the example: # load ks, spatstat # three-dimensional kernel density of B B <- pp3(runif(300), runif(300), runif(300), box3(c(0,1))) x <- unclass(B$data)$df H <- Hpi(x) fhat <- kde(x, H=H) plot(fhat) plot(fhat, axes=FALSE, box=FALSE, drawpoints=TRUE); axes3d(c('x','y','z')) If I try to insert my own coordinates instead of the artificial 3D-pattern, it does not work. It would be great, if anybody could help me! Thanks Pascal [[alternative HTML version deleted]]
2012 Jul 19
1
3-d kernel smooth by the "kde" function
...question using the elevation data in geoR. ### here is what I did ### library(ks) require(geoR) data(elevation) elev.df <- data.frame(x = elevation$coords[,"x"], y = elevation$coords[,"y"], z = elevation$data) H<-Hpi(elev.df) elev.smt<-kde(elev.df,H=H) plot(elev.smt, drawpoints=TRUE) If I understand it correctly, with the kde function, I'm using the two coordinate variables x and y to estimate (or say smooth) elevation (z). Is this correct? With this kernel smooth, my goal is to identify peaks, which are defined as areas that have estimated elevations >=950. Can...
2009 Apr 27
0
plot implicit function
...x-y mesh where you want to plot the function, using xs<-seq(xmin,xmax,length.xs) ys<-seq(xmin,xmax,length.ys) 2) Define f as a function of (x,y) and compute the values of f over the x-y mesh, by using zs<-outer(xs,ys,FUN=f) 3) Draw a contour plot at level 0: contours(xs,ys,zs,levels=0,drawpoints=FALSE) Hope it helped. [[alternative HTML version deleted]]
2012 Jul 17
0
Kernel smoothing ("ks" package)
...vation data in GeoR: ##### Kernel smooth #### require(geoR) data(elevation) elev.df <- data.frame(x = 50 * elevation$coords[,"x"], y = 50 * elevation$coords[,"y"], z = 10 * elevation$data) H<-Hpi(elev.df) popcnt<-kde(elev.df,H=H) plot(popcnt, axes=TRUE, box=TRUE, drawpoints=TRUE) #### To confirm this is what I want, I also created Loess density surface #### require(geoR) data(elevation) elev.df <- data.frame(x = 50 * elevation$coords[,"x"], y = 50 * elevation$coords[,"y"], z = 10 * elevation$data) elev.loess <- loess(z ~ x + y, data = e...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...ffset = 0) = 0; - virtual void DrawPolygon(int n , wxPoint points[] , wxCoord xoffset = 0, wxCoord yoffset = 0, int fill_style = wxODDEVEN_RULE) = 0; - virtual void DrawPolygon(wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0, int fill_style = wxODDEVEN_RULE) = 0; - virtual void DrawPoint(wxCoord x , wxCoord y ) = 0; - virtual void DrawRectangle(wxCoord x , wxCoord y , wxCoord width , wxCoord height ) = 0; - virtual void DrawRotatedText(const wxString& text , wxCoord x , wxCoord y , double angle ) = 0; - virtual void DrawRoundedRectangle(wxCoord x , wxCoord y ,...
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...imate plot for 3-dimensional data in ks-package. Here the example: # load ks, spatstat # three-dimensional kernel density of B B <- pp3(runif(300), runif(300), runif(300), box3(c(0,1))) x <- unclass(B$data)$df H <- Hpi(x) fhat <- kde(x, H=H) plot(fhat) plot(fhat, axes=FALSE, box=FALSE, drawpoints=TRUE); axes3d(c('x','y','z')) If I try to insert my own coordinates instead of the artificial 3D-pattern, it does not work. It would be great, if anybody could help me! Thanks Pascal [[alternative HTML version deleted]] ------------------------------ Message: 39...