## digitalmars.D.learn - Is there a graphing library for D?

- "dcoder" <dcoder nowhere.com> Jul 17 2012
- "cal" <callumenator gmail.com> Jul 17 2012
- Jordi Sayol <g.sayol yahoo.es> Jul 17 2012

I'm looking for a graphing library for D. Preferrably, something that uses Qt, but it doesn't have to. I am plotting sonar data, and I need to plot it 'live' so... I need something that is: 1. simple to use. I just want to graph x,y data. 2. ability to scale the display. 3. displaying more than one curve on the same graph. 4. Allows for animation of data. So, suppose I graph curve 1. Now I tell the library, okay data for curve 1 has been changed, please refresh graph. In this manner, I can move an object, and see the reflection in 'real time'. Real time in my case would be 10-30ms. Does such a library exist? I click the library section on this site, and nothing stood out. thanks.

Jul 17 2012

On Tuesday, 17 July 2012 at 17:42:49 UTC, dcoder wrote:I'm looking for a graphing library for D. Preferrably, something that uses Qt, but it doesn't have to. I am plotting sonar data, and I need to plot it 'live' so... I need something that is: 1. simple to use. I just want to graph x,y data. 2. ability to scale the display. 3. displaying more than one curve on the same graph. 4. Allows for animation of data. So, suppose I graph curve 1. Now I tell the library, okay data for curve 1 has been changed, please refresh graph. In this manner, I can move an object, and see the reflection in 'real time'. Real time in my case would be 10-30ms.

There is this, but I have not used it personally: https://github.com/dsimcha/Plot2kill Note: GTK or DFL for the display backend

Jul 17 2012

Al 17/07/12 19:53, En/na cal ha escrit:On Tuesday, 17 July 2012 at 17:42:49 UTC, dcoder wrote:I'm looking for a graphing library for D. Preferrably, something that uses Qt, but it doesn't have to. I am plotting sonar data, and I need to plot it 'live' so... I need something that is: 1. simple to use. I just want to graph x,y data. 2. ability to scale the display. 3. displaying more than one curve on the same graph. 4. Allows for animation of data. So, suppose I graph curve 1. Now I tell the library, okay data for curve 1 has been changed, please refresh graph. In this manner, I can move an object, and see the reflection in 'real time'. Real time in my case would be 10-30ms.

There is this, but I have not used it personally: https://github.com/dsimcha/Plot2kill

...and there are plot2kill binary deb packages for debian, ubuntu, linuxmint, etc. at: https://code.google.com/p/d-apt/wiki/APT_Repository -- Jordi Sayol

Jul 17 2012