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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b1a5713afb4e5c1,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!s12g2000prg.googlegroups.com!not-for-mail From: JPWoodruff@gmail.com Newsgroups: comp.lang.ada Subject: An easy way to simple scientific plots (in Ada)? Date: Wed, 26 Dec 2007 10:37:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <41bd2384-83a7-46ff-87e9-d726623633e9@s12g2000prg.googlegroups.com> NNTP-Posting-Host: 76.25.248.240 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1198694275 32602 127.0.0.1 (26 Dec 2007 18:37:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 26 Dec 2007 18:37:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s12g2000prg.googlegroups.com; posting-host=76.25.248.240; posting-account=eLk0BgoAAAA-yA75xm1L7heSizMaESVg User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19024 Date: 2007-12-26T10:37:55-08:00 List-Id: 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