search for: graphcode

Displaying 19 results from an estimated 19 matches for "graphcode".

2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document. _________________________________________________________________ 50F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 [[alternative HTML version deleted]]
2011 Dec 10
3
Overlaying density plot on forest plot
Dear R User, Please, I am new to R. I want to overlay density plot for predictive interval pooled result in meta-analysis. http://addictedtor.free.fr/graphiques/graphcode.php?graph=114 Regards Frank Peter
2009 Feb 11
1
Help with XYPLOT with marginal histograms
I am trying to replicate the following plot using Lattice: http://addictedtor.free.fr/graphiques/graphcode.php?graph=78 I'm having trouble with the lattice equivalent of the "oma" (outside margin) setting. I've been all through the Lattice documentation and others and also searched the lists. Below is sample code that demonstrates where I'm at (it should paste and run with...
2008 Mar 14
1
smoothScatter
Hi, I have been trying to plot density plots using the example on: http://addictedtor.free.fr/graphiques/graphcode.php?graph=139 I used to use this function, but I cannot get any old code or even the example to work. library("geneplotter") require("RColorBrewer") x1 <- matrix(rnorm(1e4), ncol=2) x2 <- matrix(rnorm(1e4, mean=3, sd=1.5), ncol=2) x <- rbind(x1,x2) layou...
2006 Jun 07
1
Fw: Help needed using lattice for area plots lpolygon, xyplot.
...( i.e. position = c(0,0,1,1) etc settings as well. I am not understanding something about the positioning panels. I am missing some subtle difference between polygon & lpolygon, or am missing something about panel overlays &/or panel postions. #http://addictedtor.free.fr/graphiques/graphcode.php?graph=7. par(bg="white") n <- 100 set.seed(43214) #just so we have the same exact graph x <- c(0,cumsum(rnorm(n))) y <- c(0,cumsum(rnorm(n))) xx <- c(0:n, n:0) yy <- c(x, rev(y)) plot(xx, yy, type="n", xlab="Time", ylab="Distance") po...
2011 Aug 22
1
lattice to ggplot2 conversion help
Hi, I am interested in ggplot2 and I found this lattice code very interesting (http://addictedtor.free.fr/graphiques/graphcode.php?graph=48). Code: library(lattice) lattice.options(default.theme = canonical.theme(color = FALSE)) tmp <- expand.grid(geology = c("Sand","Clay","Silt","Rock"), species = c("ArisDiff", "BracSera", "CynDa...
2008 Jan 10
6
4 dimensional graphics
Dear all I want to display 4 dimensional space by some suitable way. I searched CRAN and found miscellaneous 3 dim graphics packages which I maybe can modify but anyway I am open to any hint how to efficiently display data like: longitude, latitude, height, value Thank you Petr Pikal petr.pikal at precheza.cz
2006 Feb 11
4
Need frequency distribution for x,y coordinates
Hi, I have a set of data in x,y coordinates across the range of -5 to 5 in each dimension. I would like to obtain the frequency distribution of the different points, and then graph them so you can see which of the points are the most frequently occurring. This would seem to be easy in Matlab, which has the hist3 command for doing frequency distributions/histograms in 3 dimensions. However,
2006 Jun 07
0
Help needed using lattice for area plots lpolygon, xyplot.
...( i.e. position = c(0,0,1,1) etc settings as well. I am not understanding something about the positioning panels. I am missing some subtle difference between polygon & lpolygon, or am missing something about panel overlays &/or panel postions. #http://addictedtor.free.fr/graphiques/graphcode.php?graph=7. par(bg="white") n <- 100 set.seed(43214) #just so we have the same exact graph x <- c(0,cumsum(rnorm(n))) y <- c(0,cumsum(rnorm(n))) xx <- c(0:n, n:0) yy <- c(x, rev(y)) plot(xx, yy, type="n", xlab="Time", ylab="Distance") po...
2009 Jun 22
1
coloring agnes plots
Hi all, I am creating dendrograms using agnes and was wondering if it is possible to add color to the leaves (and just the leaves). For example, in the documentation, they have an example using the "votes.repub" data set. If I wanted to make the word "Washington" green (and only Washington), is it possible and if so how? I can apply "summary" to the object
2009 Sep 05
1
how do I draw this surface -- hand drawn in the attachemtn
Basially I have the observation for x, y, and z for each fixed z, the value of y moves from 0 to y0 as x moves from 0 to x0. I then move the curve for z from 0 to z0 and form a continuous surface. want to know if there is a way that R can replace my handdrawing. -------------- next part -------------- A non-text attachment was scrubbed... Name: draw0001.pdf Type: application/pdf Size: 292083
2009 Dec 11
1
Combining 3D/2D plots
...ation that looks like this http://www.gradient-da.com/img/temperature%20surface%20plot%20470x406.JPG(found through google). The idea is to have a 3D surface plot overlapping a 2d representation of a surface. I can build arbitrary surfaces/polygon shapes (as in http://addictedtor.free.fr/graphiques/graphcode.php?graph=135 ) and I can make the respective 2D plot. What I don't seem to be able to figure out is the way to put them together in a nice way (like the one shown in the jpg above). I've tried googling for the answer, but I wasn't able to find anything similar done in R. Any help woul...
2009 Feb 11
0
Help with XYPLOT
I am trying to replicate the following plot using Lattice: http://addictedtor.free.fr/graphiques/graphcode.php?graph=78 I'm having trouble with the equivalent of the "oma" (outside margin) setting. I've been all through the Lattice documentation and others and also searched the lists. Suggestions? Thanks! [[alternative HTML version deleted]]
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
Dear list members, When I modify the MFC sample (using the statconnector graphics device) to show a lattice graph in the Active X control (actually the wireframe from http://addictedtor.free.fr/graphiques/graphcode.php?graph=40 ) the program runs without generating any errors, but the data-driven part of the plot does not display. The bounding box is displayed, but not the axes or data within it. The same code executes perfectly when typed directly into R, so this is an issue with my code. Sometimes the p...
2005 Dec 08
2
Commented version of the home page graphics code
Folks, I was drawn to R, like many others, partly for the opportunity to draw nice, colorful graphs (occasionally ones with meaning, too :-) ). I am still quite a newbie to R. As such, I have been trying to understand the code for the graphics on the home page (the ones from the 2004 contest -- the dendrogram, the cluster plot with different coloured circles, etc.) I was wondering whether anyone
2009 Jul 20
5
heatmap plot
Dear R community! I am trying to create a heatmap based on the following data. As you can see the diagonal (0,0 to 10,10) is always 0). If I run the heatmap command like i posted it I get a graph with horizontal lines. What is my mistake? > heatmap(activity.matrix, Rowv = NA, Colv = NA, scale="column", xlab="x Compounds", ylab="y Compounds",
2008 Aug 06
3
Incomplete x-axis in barplots
Hi everyone, This is a graphics question, concerning presentation rather than actually producing figures. After much fiddling I've managed to create bar plots showing error bars. I've put in an x-axis, which goes along all the bars, but doesn't appear between the y-axis and the first bar. I've searched all the resources I have access to but can't find anything addressing this
2011 Oct 09
2
"What Calls What" diagram. Flow Chart?
I don't know the right computer science words for this question, I'm afraid. Apology in advance. How do you find your way around in somebody else's code? If the user runs a specific command, and wants to know how the data is managed until the result is returned, what to do ? I've tried this manually with tools like mtrace and browser. This is a bit frustrating because the
2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
Core developers, I couldn't find any simple way to send a vector of colors to apply to each terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it a few weeks ago and didn't get any response---so I hacked that functionality into the plot.dendrgram code (see below for hacked function plus examples).... Is there any chance this functionality could be added to the