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 Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.ispa.de!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: 2d graph Date: Thu, 23 Mar 2006 18:23:33 +0100 Organization: Jacob's private Usenet server Message-ID: References: NNTP-Posting-Host: dhcp108.dhcp.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1143134613 12007 172.24.5.108 (23 Mar 2006 17:23:33 GMT) X-Complaints-To: sparre@jacob-sparre.dk NNTP-Posting-Date: Thu, 23 Mar 2006 17:23:33 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:em1O1NP0LT+eg2xvS4V9UxBlWHU= Xref: g2news1.google.com comp.lang.ada:3579 Date: 2006-03-23T18:23:33+01:00 List-Id: Anders Wirzenius wrote: > 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? I fear SVG isn't widely supported yet. I have successfully used the package PNG_IO for generating images in PNG format, but I haven't done line graphics together with PNG_IO (yet). You would have to put together a simple line renderer, which prepares an image for PNG_IO to save. Jacob -- "It's not a question of whose habitat it is, it's a question of how fast you hit it."