# Ruby graph: coordinate plane?

**URL:** <https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933>\
**Category:** Ruby\
**Created:** [April 5, 2008, 6:17am UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933 "2008-04-05T06:17:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [April 5, 2008, 6:17am UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933/1 "2008-04-05T06:17:16Z")

</div>

Been digging through the net this past day and I can’t seem to come up  
with any gem that supports coordinate plane graphing.

Checked out mainly Ruport, Scruffy, and GNUplot

They all have scatter plots but I’m looking to plot in the negatives as  
well, something a standard scatter plot wont let you do. Sadly I also  
checked Excel’s ability toward scatter plotting, but once again, no  
Coordinate plane.

Any ideas?

Thanks!

- Mac

---

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [April 6, 2008, 3:09am UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933/2 "2008-04-06T03:09:24Z")

</div>

Michael L. wrote:

> Been digging through the net this past day and I can’t seem to come up  
> with any gem that supports coordinate plane graphing.
> 
> Checked out mainly Ruport, Scruffy, and GNUplot
> 
> They all have scatter plots but I’m looking to plot in the negatives as  
> well, something a standard scatter plot wont let you do. Sadly I also  
> checked Excel’s ability toward scatter plotting, but once again, no  
> Coordinate plane.

What do you mean by “plot in the negatives”? Gnuplot seems to support  
scatter plotting, but maybe I don’t know what you mean…

---

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [April 6, 2008, 3:33am UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933/3 "2008-04-06T03:33:58Z")

</div>

On Fri, Apr 4, 2008 at 11:17 PM, Michael L.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any ideas?
> 
> Thanks!
> 
> - Mac

I’m not aware of the limitations of the tools you’re talking about,  
but you can transform your scatter “set” to positive if need be (i.e.  
moving the origin in the x,y negative direction temporarily). This  
shouldn’t be that much of a problem unless your distribution distance  
is large and your data is severely clumped (like a Pluto orbiting way  
out there in a solar system with a bunch of planets hanging close to a  
small star).

Todd

---

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [April 6, 2008, 8:15am UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933/4 "2008-04-06T08:15:52Z")

</div>

Todd B. wrote:

> On Fri, Apr 4, 2008 at 11:17 PM, Michael L.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Any ideas?
> > 
> > Thanks!
> > 
> > - Mac
> 
> I’m not aware of the limitations of the tools you’re talking about,  
> but you can transform your scatter “set” to positive if need be (i.e.  
> moving the origin in the x,y negative direction temporarily). This  
> shouldn’t be that much of a problem unless your distribution distance  
> is large and your data is severely clumped (like a Pluto orbiting way  
> out there in a solar system with a bunch of planets hanging close to a  
> small star).
> 
> Todd

I need it to be a Cartesian Coordinate plane (4 quadrants) for the  
reason being that I plan to apply the results to a jpeg/bmp.

---

<div class="post-metadata">

**Author:** ![dreamwave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Post date:** [April 6, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/ruby-graph-coordinate-plane/133933/5 "2008-04-06T23:26:25Z")

</div>

On Fri, Apr 4, 2008 at 10:17 PM, Michael L.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> They all have scatter plots but I’m looking to plot in the negatives  
> as well, something a standard scatter plot wont let you do. Sadly I  
> also checked Excel’s ability toward scatter plotting, but once again,  
> no Coordinate plane.

Try tioga.

Marcelo
