[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Plotting data

From: Juergen Sauermann
Subject: Re: [Bug-apl] Plotting data
Date: Fri, 17 Jan 2014 15:40:46 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5


,(⍕⍪DATA),⎕UCS 10

should give a string that you can write to a file via the file_io function.

You can then call gnuplot with that file, either externally or with )HOST or with AP100 from APL.

/// Jürgen

On 01/17/2014 02:41 PM, Elias Mårtenson wrote:
Yeah, gnuplot is good. What I need is a simple way to ship off a matrix to gnuplot using a single operation. I can do that using Emacs now, but would it make sense for me to build something that allows a user to do it directly from the interpreter?


On 17 January 2014 21:20, Juergen Sauermann <address@hidden> wrote:

I personally like gnuplot very much. The latest versions can also generate html output
so you can put your data on the web (even live if you use a combination of apache web server,
calling an APL CGI script, calling gnuplot).

Don't know anything about the other options, though.

/// Jürgen

On 01/17/2014 08:37 AM, Elias Mårtenson wrote:
In my attempt to start using GNU APL for more than learning and use it for real purposes, I wanted to use it to process performance data from benchmarks here at work.

This leads me to the need to visualise the data. Systems like R have "plot" commands that can plot any dataset. Obviously I want to do the same in APL.

Of course I wanted to implement a native library that hooks GNU APL into some existing graph plotting tool. Before I started doing that, I figured I'd ask for opinions first.

There are a few options:
  • Simply run gnuplot as an external backend
  • Use the plplot library
  • Interface with R
  • Use another library that I don't know about yet
  • Write it from scratch
Any suggestions as to what to do? The gnuplot solution does feel appealing, since it's available pretty much everywhere.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]