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,39ace4c4032cf84b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder2.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: question on GtkAda Date: Wed, 15 Dec 2010 16:58:36 -0800 Organization: Aioe.org NNTP Server Message-ID: References: <4e69ab19-1d1e-4ab9-935b-a5da160dadc4@e16g2000pri.googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 Xref: g2news2.google.com comp.lang.ada:16940 Date: 2010-12-15T16:58:36-08:00 List-Id: On 12/15/2010 4:15 PM, Jerry wrote: > On Dec 14, 6:57 pm, "Nasser M. Abbasi" wrote: >> Hello; >> >> >> Another question: If someone want to do plotting from Ada, how >> would one do that? GtkAda is just for making GUI? >> >> Thanks >> --Nasser > > PLplot has Ada bindings and and works with Gtk+ and many other > interactive devices and supports a number of file output formats as > well. > > http://plplot.sourceforge.net/ > > PLplot is widely used and actively developed. It does not write data > to disk before plotting and thus is faster for some applications than > say e.g. Gnuplot. > > The mailing list is your friend. > > Jerry Yes, I knew about PlPlot ofcourse, thanks, and looked at it as well as manyothers. I wanted ONE library to do both GUI building (i.e. make canvas, layout button, graphics area, sliders, pop-up menus, etc... on it) and also do data visualization (plotting 2d, 3d, mesh plots, etc...), like I can do now easily with Matlab and Mathematica for example. I did not see that I can build a GUI with plplot? But I saw I can build a gui with gtk+ but no do plotting. you say plplot works with gtk+, I am not sure what that means. do you have examples, screen shots of apps written in gtk+ as GUI using plplots into a drawing area created by gtk+? I thought it will be easier to learn one library that 2. What I am looking for, is there a way in Ada to make a gui, say such as this example: (this is just a random one I picked on the net, it uses Matlab GUI and plotting): http://lims.mech.northwestern.edu/projects/frictioninducedforcefields/index.htm Now, given all the above, for scientific applications, I still need to be able to access lapack functions from Ada. Ada Annex G just does not cut it. Very limited. As well as what other small Ada math libraries I could find. So far, I could not find full binding to these. There are 100's of functions there, that has been written over span of more than 30 years or more: http://www.netlib.org/lapack/release_notes.html that one would need to call to do any type of scientific work. Without being able to uses these from Ada, having the GUI and the plotting will do me no good. I need to have all the 3 parts (GUI + Plotting + Lapack binding) as a starting point to even think about using Ada for numerical work. thanks --Nasser