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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news3.google.com!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: bdbryant@mail.utexas.edu (Bobby D. Bryant) Newsgroups: comp.lang.ada Subject: Re: 2d graph Date: Thu, 23 Mar 2006 14:04:14 +0000 (UTC) Organization: dis- Message-ID: References: <4cdpulq5589q.gj93rlx0sbam.dlg@40tude.net> Reply-To: bdbryant@mail.utexas.edu NNTP-Posting-Host: dial-b-128-83-254-136.telesys.its.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: geraldo.cc.utexas.edu 1143122654 9829 128.83.254.136 (23 Mar 2006 14:04:14 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Thu, 23 Mar 2006 14:04:14 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news1.google.com comp.lang.ada:3574 Date: 2006-03-23T14:04:14+00:00 List-Id: On Thu, 23 Mar 2006, "Dmitry A. Kazakov" wrote: > On Thu, 23 Mar 2006 11:34:43 GMT, 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? >> 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 > > I did it in pure HTML, but it was designed for displaying fuzzy sets. The > output looked like: > > 0.0 ||||||||||||||| > 0.1 |||||||| > 0.2 ||||||||||| > 0.3 |||||||||||||||||||| > 0.4 |||||||||||||||||||||| > > I think you got the idea. It is probably not what you want. You can do it with GtkAda (make the plot and spill to png), but that may be overkill for what you want. Does it need to be done in real time? What role does Ada play, vs. using R or gnuplot? -- Bobby Bryant Austin, Texas