# Gruff graphs and labels

**URL:** <https://www.ruby-forum.com/t/gruff-graphs-and-labels/195278>\
**Category:** Ruby\
**Created:** [September 21, 2010, 1:55am UTC](https://www.ruby-forum.com/t/gruff-graphs-and-labels/195278 "2010-09-21T01:55:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![woow](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7bcc69/32.png) [@woow](https://www.ruby-forum.com/u/woow)\
**Post date:** [September 21, 2010, 1:55am UTC](https://www.ruby-forum.com/t/gruff-graphs-and-labels/195278/1 "2010-09-21T01:55:42Z")

</div>

Hi All,

I am a newbie…and there are very less documentation when I google  
with regards to gruff.

lets says…

I got an array y = [4, 5, 7, 1, 2, 5, …100]

x = [ donkey, monkey, rat, cat, bat, lion, tiger, …  
pig]

how could I graph y against x and label them according to the each value  
in X.

Please help.

thanks
