comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: question on GtkAda
Date: Wed, 15 Dec 2010 16:58:36 -0800
Date: 2010-12-15T16:58:36-08:00	[thread overview]
Message-ID: <iebo8f$e8$1@speranza.aioe.org> (raw)
In-Reply-To: 4e69ab19-1d1e-4ab9-935b-a5da160dadc4@e16g2000pri.googlegroups.com

On 12/15/2010 4:15 PM, Jerry wrote:
> On Dec 14, 6:57 pm, "Nasser M. Abbasi"<n...@12000.org>  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



  reply	other threads:[~2010-12-16  0:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15  1:57 question on GtkAda Nasser M. Abbasi
2010-12-15  8:46 ` Dmitry A. Kazakov
2010-12-16  0:15 ` Jerry
2010-12-16  0:58   ` Nasser M. Abbasi [this message]
2010-12-17 23:59     ` Jerry
2010-12-18  0:07       ` Nasser M. Abbasi
2010-12-18 17:57     ` Simon Wright
2010-12-20  0:50       ` Ada Annex G (was Re: question on GtkAda) Nasser M. Abbasi
2010-12-20 17:32         ` Ada Annex G Simon Wright
2010-12-21  0:24         ` Ada Annex G (was Re: question on GtkAda) Randy Brukardt
2010-12-16  7:07 ` question on GtkAda Stephen Leake
2010-12-16  7:42   ` Nasser M. Abbasi
2010-12-17  7:13     ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox