From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b1a5713afb4e5c1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out02a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny05.POSTED!c9e1c1fe!not-for-mail From: Jeffrey Creem User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: An easy way to simple scientific plots (in Ada)? References: <41bd2384-83a7-46ff-87e9-d726623633e9@s12g2000prg.googlegroups.com> In-Reply-To: <41bd2384-83a7-46ff-87e9-d726623633e9@s12g2000prg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 27 Dec 2007 02:15:01 GMT NNTP-Posting-Host: 71.168.122.204 X-Complaints-To: abuse@verizon.net X-Trace: trndny05 1198721701 71.168.122.204 (Wed, 26 Dec 2007 21:15:01 EST) NNTP-Posting-Date: Wed, 26 Dec 2007 21:15:01 EST Xref: g2news1.google.com comp.lang.ada:19032 Date: 2007-12-27T02:15:01+00:00 List-Id: JPWoodruff@gmail.com wrote: > I'm an old Ada hobbyist who would like to plot some data from a > computation. What I want is scientific plots that are sort of the > opposite of industrial strength, in that small effort produces small > result but has no aspiration to scale. > > The kind of data I'll be examining are similar to > -- > type data is array (min..max) of float; > X, Y : data ; > -- > circle (X, Y : out data) ; > -- makes (max-min+1) values satisfying > -- x**2 + y**2 = 1; > plot_curve(X, Y) ; -- syntax to suit > -- puts a figure that's sort-of round into a window > > I've collected beaucoup graphics libraries over the years - (claw, > gwindows, jewl, win_io, windex, once upon a time a fairly immature > gtkada...) > > But I'm not a devotee of U-I programming so I've never committed much > thinking to any of these. I'm going to stay uninvolved with buttons, > callbacks and dialogs. Instead, I just like to compute and plot > numeric > values. I wish I could do that in a context that didn't make me learn > all that stuff I'm not using. > > By way of comparison, I consider my need alongside the capabilities of > the R language environment. Their plotting far exceeds my needs. But > the R language is a sad homely thing alongside Ada. > > So can I ask for a suggestion: which library would be simplest for me > to install and use for my task? > > Good fortune in the new year to all > John I usually just have the programs output data/config files for either gnuplot or xmgrace