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,39ace4c4032cf84b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!f20g2000prn.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: question on GtkAda Date: Fri, 17 Dec 2010 15:59:08 -0800 (PST) Organization: http://groups.google.com Message-ID: <3e9743d6-c396-4d76-8140-45b7c67f5aa6@f20g2000prn.googlegroups.com> References: <4e69ab19-1d1e-4ab9-935b-a5da160dadc4@e16g2000pri.googlegroups.com> NNTP-Posting-Host: 75.172.183.76 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1292630348 3731 127.0.0.1 (17 Dec 2010 23:59:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 17 Dec 2010 23:59:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f20g2000prn.googlegroups.com; posting-host=75.172.183.76; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/531.21.8+(KHTML, like Gecko, Safari/528.16) (null),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16991 Date: 2010-12-17T15:59:08-08:00 List-Id: On Dec 15, 5:58=A0pm, "Nasser M. Abbasi" wrote: > On 12/15/2010 4:15 PM, Jerry wrote: > > > > > > > On Dec 14, 6:57 pm, "Nasser M. Abbasi" =A0wrote: > >> 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. I'm actually not familiar with the PLplot-Gtk+ combination--I only wrote the Ada bindings. I'm sure if you post your question to the plplot list you will find out very quickly if the PLplot-Gtk+ combination has any synergy with writing GUI's in Gkt+. > > 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... > > 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. Yes, Annex G is only a very small part. There has been an effort to bind Ada to lapack but I'm up to date on it. Google "lapack Ada binding" and I think you'll find some useful results. Let us know what you find. I would also like for there to be an Ada binding to GSL, the Gnu Scientific Library: http://www.gnu.org/software/gsl/ Jerry > > 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