Displaying 20 results from an estimated 20000 matches similar to: "Gruff Graphs for Scatter Plot"
2008 Dec 05
9
Bar Chart in Rails
Hi Everyone,
Can anyone tell me how to draw a bar chart in Rails? Is there any
in-built method in Ruby on Rails (or) should i go for 3rd party plugins?
I searched and came across this "open flash chart" - i don''t know how to
customize it according to my requirement.
PS: I have attached my requirement sample for you reference.
Thanks,
Vasanth
Attachments:
2008 Sep 24
9
Need to make a radar chart - any good ruby plugins for this?
Hey,
I need to make a radar chart (also called spider chart, star chart) and
am trying to see if there is a plugin for this.
GchartRB looked good, but I don''t see Radar Charts on here:
http://gchartrb.rubyforge.org/
Does anyone know a good plugin or gem that will generate radar charts?
tl;dr,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Jul 22
2
Gruff Graphs
Well, I''m trying to generate graphs using gruff,
but I''m having problemns.
I use, require_gem ''gruff''
then when I run g = Gruff::Line.new(475)
I get uninitialized constant Gruff
/////
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing''
2009 Dec 24
2
Showing graphs on browser with gruff lib.
Hi,
I am using "gruff" lib for creating the graphs.
I have got the success to create the graph, but my problem is I don''t
want to store it, I want that they should be displyed on the browser it
self.
I have tried this:-
"
send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'',
:filename =>
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
I''ve been working with Gruff to do all my apps graphing and such etc. I
love it but I''m just having a hard time customizing the graphs, but this
is perhaps due to my inability to comprehend the online RDocs.
What I want to do is adjust the width / heights of my graphs or at the
VERY LEAST the heights. It seems that if you scale a graph anywhere
below 400-450px it is pretty
2006 May 25
2
Have a quick Gruff Graphing question
I have some graphs and everything is working great, but I''d like to set
a minimum height so to speak on the vertical scale. Is there a method
to do that with Gruff? I''ve tried looking through the docs but can''t
seem to get it to work.
So for example, if the highest datapoint in my graph was say 500, is it
possible to have the minimum vertical scale on the left set
2009 Mar 03
4
scatter plot question
Hi R Users,
I have a dataframe like this:
id x rho
A 1 0.1
B 20 0.5
C 2 0.9
...
I want to do a scatter plot of "x" versus "rho" but for each point on the
scatter plot I want the corresponding entry for "id" instead of points. In
STATA I can do so by
twoway (scatter x rho, mlabel(id))
How can I do the same in R? I am sure there is some simple way to do
2009 Dec 01
1
draw a box at 10% lower and upper in scatter plot
Hi,
I would like to draw a box at each corner of lower 10% and upper 10% in the scatter plot on(0,1)*(0,1) to indicate the lower and upper tail. I hope somebody can help me.
Here is my code:
## scatter plot
plot(hume_uni[,2],beec_uni[,2], pch=19, xlab="Hume_uni", ylab="Beec_uni", col= "blue")
title(main="Scatter plot of uniformised data of Hume and
2009 May 23
2
how to adding colors to data points in scatter plot in R?
Does anybody know how to adding colors to data points in scatter plot in R?
I have the following R data frame -
Voter_Name, Education_years, Income, Registered
Ricky, 18, 40000, Y
Lisa, 20, 34000, N
Jon, 10, 35000, Y
...
I am doing a scatter plot in R for those data points - Income vs.
EducationYears.
I would also like to using different colors to differentiate whether that
data point is a
2011 Jun 16
1
Scatter plot produces "'x' and 'y' lengths differ"
Hello,
I am working on a project to create some scatter plots. I have syntax
for 26 plots, and 22 of them display as they should. But here, for
example, is a sample of the command syntax I am using:
good <- complete.cases(affect1,adh1scr)
plot
(jitter(affect1,2.0),jitter(adh1scr,1.0),xlim=c(1,35),ylim=c(1,35),pch=1
6,
main='Adherence Score by Affectiveness Level - Visit 1',
2005 Jun 17
4
3D Scatter Plot
Hello:
I would like to be able to do a 3D scatter plot from 3 variables, 2
independent and 1 dependent. The closest R function I could find for
this is "cloud". However cloud uses, as input, a matrix where the value
of each matrix element is the dependent variable value at that matrix
coordinate. My problem is that the independent variable values are
floating point and can be of
2010 Jun 24
2
Correctly plotting bar and scatter chart on 2-y axis plot with par(new=T)
Hello Nabble users,
A question about having two y axes on a chart. I'm trying to show on the
left (first) y axis a measure used in an experiment; the x axis shows the
experiment number, that has been sorted in a specific manner -- i.e. not
Experiments 1,2,3,n, but could be Experiment 6,1,18,n; the right (second) y
axis shows an experimental variable. The idea of the chart is to show how
2007 Apr 27
2
Scatter Plot in R - Help
Dear All,
I am using the following commands to do the scatter
plot of two vectors, say X and Y.
plot(X,Y, col="blue")
abline(a=1,b=1, col="red")
abline(a=-1,b=1, col="green")
I would like to split the scatter plot into 3 part
with 3 different colors: (i) points lies between 2
lines, (ii) points above line 1, and (iii) points
below line 2. I am struggling to do
2008 Mar 04
4
colored 3d scatter plot
Hi All,
I have data for two groups, group with 100 points and group B with 15
points. i needed plot these two groups in one scatter plot, each group with
a different color. I tried
plot3d(data, col = c("red", "blue")[c(rep(1, 100), rep(2, 15))], pch=20) .
this works but the graph does not look good.
the other option that I tried is
scatterplot3d(data, type="p",
2006 Jun 05
1
Strange problem with Gruff not always displaying graph
Hello,
I am having a strange problem with Gruff not always displaying the graph
on the page. On some pages, the graph is displayed fine. On others,
however, I just get the number relating to the id of the requested item
- in my case, report.
Does anyone know how to solve this problem?
I have the following in my controller:
def create_graph
g = Gruff::Line.new(290)
g.title =
2012 Mar 14
1
How to use ggplot to do the binned quantile plots(one type of scatter plot)?
How to use ggplot to do the binned quantile plots(one type of scatter plot)?
Hi all,
I have done scatter plot: plot(x, y).
Now I wanted to do binned quantile plots... can ggplot2 help me?
For example, we bin x data into 10 bins.
For each bin, we draw the 10 deciles of the corresponding y data in that
bin as points/dots.
And then accross all bins, we would like to connect the corresponding
2010 May 12
3
what the problem could be if i am suddenly unable to add abline to the scatter plot?
I am doing very regular stuff like the following:
attach(wtana)
fm<- lm(Body.Wt.on.SD1~Heart.Wt, data=wtana)
#fm<- lm(wtana$Body.Wt.on.SD1~wtana$Heart.Wt)
lrf<- loess(Body.Wt.on.SD1~Heart.Wt, wtana)
#lrf<- loess(wtana$Body.Wt.on.SD1~wtana$Heart.Wt)
plot(Body.Wt.on.SD1,Heart.Wt)
#plot(wtana$Body.Wt.on.SD1,wtana$Heart.Wt)
#lines(spline(Heart.Wt,fitted(lrf)), col=2)
abline(fm, col=4)
2006 Jul 28
3
scatter plot with axes drawn on the same scale
Dear useRs,
I'd like to produce some scatter plots where N units on the X axis are
equal to N units on the Y axis (as measured with a ruler, on screen or
paper). This approach
x <- sample(10:200,40) ; y <- sample(20:100,40)
windows(width=max(x),height=max(y))
plot(x,y)
is better than plot(x,y) but doesn't solve the problem because of the
other parameters (margins etc). Is
2009 Jun 23
1
Rainbow Colored Scatter Plot
Hello,
I have created a 3d scatter plot using the plot3d command in the rgl
package. I have approximately 6500 data points in the scatter plot.
I would like to color these points sequentially using the entire color
spectrum. (So the first point is red, next point slightly different, and
each point gradually changes so that the final point is violet.) Is anyone
familiar with how this can be done?
2007 Feb 28
1
hi guys problem with running gruff
Hi guys i am pretty much a newbie to rails and tried to install gruff and
run the example given in home page for gruff
i am using ubuntu and dapper.
first i got two errors when i used this example
#!/usr/bin/ruby
require ''rubygems''
require ''gruff''
g = Gruff::Line.new
g.title = "My Graph"
g.data("Apples", [1, 2, 3, 4, 4, 3])