similar to: 3D plot of a bivariate normal distribution

Displaying 20 results from an estimated 500 matches similar to: "3D plot of a bivariate normal distribution"

2003 Sep 01
0
Re: Plotting bivariate normal distributions.
You'll find that it is a lot easier to do it in R: # lets first simulate a bivariate normal sample library(MASS) bivn <- mvrnorm(1000, mu = c(0, 0), Sigma = matrix(c(1, .5, .5, 1), 2)) # now we do a kernel density estimate bivn.kde <- kde2d(bivn[,1], bivn[,2], n = 50) # now plot your results contour(bivn.kde) image(bivn.kde) persp(bivn.kde, phi = 45, theta = 30) # fancy contour with
2007 Aug 10
1
Unexpected behavior in PBSmapping package
Using R 2.5.1 on Windows XP Professional, and PBSmapping package version 2.51, I have encountered some behavior which puzzles me. I am including the package's listed maintainer on this email but also seek the thoughts of the R-help community. I have a set of EventData, which I want to plot as points, and to color the points according to some criterion. It turns out that some of my
2003 Jul 10
0
clim.pact (fwd)
I'm trying to use the clim.pact package but I cannot find the descritions of "map object or "field object". For example, according to the man page of function "map": " Description Produces maps. Usage map(x,y=NULL,col="black",lwd=1,lty=1,sym=TRUE, plot=TRUE,inv.col=FALSE) Arguments x A map object. ... " and according to the man page of
2008 Feb 27
2
png and pdf : point size, font size, etc.
Hi, I am new to this mailing list. Didn`t find the answer in the archives. But I guess, there are people out there, who know the solution: In an automatic script, I want to produce simple plots. First I prefer pdf, because of scalability and standardization. But when I have too many datapoints (say 300.000) the viewing and printing is very, very slow. So I decided to take some bitmapped format
2000 Sep 19
3
getting lines with non-rounded caps?
I'm trying to get a plot with wide lines that don't have rounded end caps. You can see the effect quite clearly with a plot like this: plot(0:1) lines(c(1.5,1.5),c(0,.5),lwd=20,col="red") lines(c(1.5,1.5),c(.5,1),lwd=20,col="green") abline(h=0) abline(h=0.5) abline(h=1) The colored lines should be between the horizontal lines, but because of the rounded end caps,
2003 Jun 30
1
symbol size on a plot
Hi, I would like to get from a plot the size of the symbols plotted. Imagine I have the following plot function : plot(1:2,1:2, pch=15, cex=4) I would like the get the values SIZE1 and SIZE2 so that if I plot the following rectangle : rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is exactely the same as the one of the symbols that have been plotted. Thanks for any idea. --
2010 Apr 07
1
Quartering a plot() ?
Sorry if my terminology is all out of sorts here, but I'm curious about a simple matter: I have a plot, and within it a box defined by lines, like so: plot(c(), xlim=c(-1.5,1.5), ylim=c(0,5)) lines(c(1,1,-1,-1,1),c(1.5,3.5,3.5,1.5,1.5), col=c("red")) I'd like to easily chop the box drawn by lines into an even 3x3 grid- is this possible easily? Thanks! -- Wells Oliver
2010 Nov 25
1
Replacing 1 plot in layout
Hi, layout(1:2) # split the screen into 2 regions plot(1:2) # plot in region 1 plot(1:2) # plot in region 2 par(mfg=c(1,1)) # Then I want to update the plot in region 1 plot(1.5,1.5) But the this last plot overlays with my 1st plot. Q: How do I replace my first plot with my last? #### NOTE ###### I know I can do this with split.screen and screen(n,TRUE) But then it actually clears the
2011 Jun 30
2
volcano plot.r
Hello. My name is Akashah. i work at metabolic laboratory. From my study, i found that volcano plot can help a lot in my section.  i already studied about the volcano plot and get the coding to run in R software, unfortunately, there is may be something wrong with the coding. This is because  no graph appear, but no error (blue color text) was shown on the R console. Below is the coding for
2011 Jun 20
2
(no subject)
HELLO, anybody... could you help me to check the below coding for volcano. what is the mistake? what the plot could not display? # volcano_plot.r # # Author: Amsha Nahid, Jairus Bowne, Gerard Murray # Purpose: Produces a volcano plot # # Input: Data matrix as specified in Data-matrix-format.pdf # Output: Plots log2(fold change) vs log10(t-test P-value) # #
2002 Aug 09
2
time series and R
Hi, Are there some texts about time series that teatches it with R? And site 'bout time series "for dummies" , can anyone indicate them for me? thanks a lot Rafael Bertola Undergraduate in Statistics at UNICAMP - Brasil -------------------------------------------------- --------------------------------------------------
2004 Aug 06
3
[Fwd: Icecast2 and ices]
I got this offlist from someone on the list. This is abuse and should be punished. This didn't anwser my post and was directed to me off-list without invitation. All it was was a promotion. -----Forwarded Message----- From: Dave St John <groups@mediacast1.com> To: drew@drewb.com Subject: Icecast2 and ices Date: 22 Aug 2003 19:22:17 -0600 Hello Drew, saw your post on the xiph list
2010 Jun 08
1
add one point to contourplot()
Hi All, I want to add one point to contourplot().  I used contourplot() in my code like contourplot(z ~ a + b |c, data) I understand there is plot.axes argument for filled.contour(), but it  did not work for my code. I also tried plot() and text() for contourplot(), but got this error: "plot.new has not been called yet" Any suggestion for adding a point in contourplot()? Thank you very
2004 Jun 21
2
visualizing a list of probabilities
Hi, I'm using nnet to work on a 2 class classification problem. The result of my code is data.frame of true class, predicted class and associated probability. One way of summarizing the data is by a confusion matrix. However are there any graphical ways I could represent the data - specifically, I'd like to show the probabilities associated with each member of my prediction set? (I
2008 Jul 24
2
simple random number generation
useR's, I want to randomly generate 500 numbers from the standard normal distribution, i.e. N(0,1), but I only want them to be generated in the range -1.5 to 1.5. Does anyone have a simple way to do this? Thanks, dxc13 -- View this message in context: http://www.nabble.com/simple-random-number-generation-tp18642611p18642611.html Sent from the R help mailing list archive at Nabble.com.
2003 Jan 02
2
nonparametrics databank for analisys
I'm looking for data to use with nonparametrics exploration technics. I'm a undergraduate student in statistics at the Unicamp (Brazil), and i've to make a project (with orientation of a professor). I choose nonparametrics statistics to make the project. But in this project i must have to use a databank and present analisys. So, if somebody give me indications where i can find
2007 Jan 29
1
overlay xyplot on contourplot in lattice in R
Hi everybody, I want to do a contourplot in lattice with my raw data overlaid on it(xyplot) which seemed to be a very easy thing to do. I've tried it in many ways, but I haven't succeeded at obtaining it. let's say x, y, and z as the variables that comes from the data frame ''ex'': therefore my countourplot is as followed : contourplot(z ~ x * y, cuts=550) I
2010 Jul 10
1
contourplot by year
Hi - I have a dataframe with 4 variables - long, lat, temp and year. I would like to plot temperature by lat and long in contour plots by year. There are 391 data points. When I try contourplot(temp~long*lat|year,data=hake,cuts=10,labels = TRUE,contour = TRUE,pretty = TRUE,region=TRUE) I get plots with dots around by data, but not contour lines or filled in regions. I have also used the
2004 Aug 06
1
: (Lattice): Overlaying more than one trend surface using contourplot() and wireframe()
Hi, Is there a way to plot more than one trend surface using the functions contourplot() and wireframe(). I have found an add=T in contour(), but no equivalent argument in contourplot() and wireframe()? I have taken the example 11-2 (pages 441-451) from Design and analysis of experiments (Montgomery 2001, 5th edition) to see if this could be done in R. I have managed to plot individual
2004 Aug 06
5
capturing pid from command line
On Mon, 2003-11-03 at 21:53, Dave St John wrote: > Anyone know of or how to capture the pid via the command line in bash? pidof ??? $ pidof httpd 827 825 824 788 -- Drew <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only