On Thu, 5 Apr 2007 12:26:32 -0400 Roberto C. Sánchez <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 05, 2007 at 01:51:03PM +0200, Jan Willem Stumpel wrote: > > I would like to try some simple graphics programming on Linux -- > > plotting points, lines, and arcs to a window, filling areas with > > colour, etc. Preferably with a C interface, something like what > > you could do with Turbo C on DOS in the 1980's. > > > > What would be the easiest system to do this? Should I learn Java? > > Or something else? > > > Personally, I would recommend wxWidgets. However, it is C++ and not C. > The reason I say that is because it then makes your programs portable > and learning wxWidgets is no more difficult than Xlib or any other lower > level drawing library. > I like wxWidgets also. It will also make your programs portable to windows with little or no modifications (if that is an issue). For drawing lines and graphs and such look into plplot. It has a plplot driver It takes some work to get a full program running, so it's more useful if you'll want to get real programs going and not just play around. For simple playing around, python may be easier (although personally, for real projects I feel c/c++ is better). BTW, there are also bindings for using wx with python Fortran is nice but mostly for mathematical work > Regards, > > -Roberto