Displaying 2 results from an estimated 2 matches for "samplegraph".
Did you mean:
sample_graph
2009 Dec 23
2
A package for visualizing R syntax
Dear all,
I have written a small set of functions for drawing graphical representations of R objects and evaluations of R expressions.
It is mainly intended for pedagogical purposes. Here are some samples:
http://panini.u-paris10.fr/~sloiseau/sampleGraphics.pdf
The idea is to use some graphical conventions in order to make clear the abstract syntax and to explain function, extraction, recycling, type conversion, properties of data structures, etc.
I would be very interested in your reactions and comments. I'm wondering if it may become a R pa...
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
...le line graphs?
Given this sample code below, how would I easily modify the height/width
or make it a widegraph as in the example above? Thanks for any help.
data = [1, 2, 3, 4, 5, 6]
g = Gruff::Line.new(500) #Sets scale to 500px, but I''d like 500 width
and 300 height
g.title = "Samplegraph"
g.labels = {1 => "Today", 3 => "Yesterday", 6 => "The Day Before"}
g.theme_37signals
g.data("Graph", data, ''#378CDF'')
g.maximum_value = 10
send_data(g.to_blob, :disposition => ''inline'', :type => '...