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,bf1120cc5ca0ddec X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4422F79A.E0CFED33@fakeaddress.nil> Date: Thu, 23 Mar 2006 20:31:38 +0100 From: Gautier X-Mailer: Mozilla 4.8 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: 2d graph References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.62.8.49 X-Original-NNTP-Posting-Host: 81.62.8.49 X-Trace: news.bluewin.ch 1143142323 81.62.8.49 (23 Mar 2006 20:32:03 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:3582 Date: 2006-03-23T20:31:38+01:00 List-Id: Anders Wirzenius: > I want to produce a 2d graph to be presented as an image on a HTML page. > Does anyone have an Ada example for, say, SVG? > The data is a textfile with x and y values on each line. > 1.0 1.0 > 2.3 3.2 > 3.0 5.9 Maybe you'll be interested by... http://www.mysunrise.ch/users/gdm/graph.htm You have there two vectorial graphics formats (PostScript (incl. EPSF) and DXF); then adding a SVG driver or using Ghostscript to obtain a bitmap from EPSF should be doable. _______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!