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,db1852ec54f81742 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!k18g2000prh.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: Cairo graphics library Date: Thu, 11 Aug 2011 16:27:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7f1d3bfd-ffe1-4eae-9cae-3f696bd7b142@k18g2000prh.googlegroups.com> References: NNTP-Posting-Host: 97.117.194.38 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1313106103 22423 127.0.0.1 (11 Aug 2011 23:41:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Aug 2011 23:41:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k18g2000prh.googlegroups.com; posting-host=97.117.194.38; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HLUARECNK X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21513 Date: 2011-08-11T16:27:32-07:00 List-Id: On Aug 4, 10:53=A0pm, Ada novice wrote: > I've read that GNAT 2011 has an interface to the Cairo graphics > library. Can we use this library to plot graphs with Ada? By graphs I > mean 2-dimensional plots with lines and curves (to start with). > > Thanks. > > YC Sorry for the late post. Check out PLplot which has Ada bindings and a number of output options. http://plplot.sourceforge.net/ Note that the Ada bindings have Ada-specific additions that make PLplot super-easy to use for many common situations. See the Ada section of the documentation: http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.8/ada.html On the Examples page, the two bindings are called Ada(thick) and Ada(thin)--both are thick bindings but Ada(thick) gets rid of the ridiculous names. Jerry