For Programmers: Free Programming Magazines  


Home > Archive > Fortran > September 2004 > pgplot / g77









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pgplot / g77
Keith Green

2004-09-23, 3:58 pm

I'm modifying a physicists fortran code to add some simple plotting.
I can do it from scratch, but it seems like I should be able to use
the routines in pgplot. On the site for pgplot, however, the
anonymous
ftp server appears to be down.

Somewhere else I found .libs and .dlls for pgplot5. Don't know how to
link these in. What I need is the .a file required by g77. That's
all.

Anybody have an idea where I could get this from?

thanks,
k


Yes, I know I could change languages. This needs to be in fortran for
the guy I'm doing it for.

Yes, I've looked at other graphics packages - DISLIN, PLPlot, etc.,
but they only hand out source - and I've already spent FAR more time
trying to compile this crap than I would have spent writing home brew
stuff to do the simple things I want to do.
Helmut Michels

2004-09-24, 8:59 am

Keith Green wrote:
> I'm modifying a physicists fortran code to add some simple plotting.
> I can do it from scratch, but it seems like I should be able to use
> the routines in pgplot. On the site for pgplot, however, the
> anonymous
> ftp server appears to be down.
>
> Somewhere else I found .libs and .dlls for pgplot5. Don't know how to
> link these in. What I need is the .a file required by g77. That's
> all.
>
> Anybody have an idea where I could get this from?
>
> thanks,
> k
>
>
> Yes, I know I could change languages. This needs to be in fortran for
> the guy I'm doing it for.
>
> Yes, I've looked at other graphics packages - DISLIN, PLPlot, etc.,
> but they only hand out source - and I've already spent FAR more time
> trying to compile this crap than I would have spent writing home brew
> stuff to do the simple things I want to do.


DISLIN is only distributed in binary form with compiled libraries. There
are DISLIN distributions for g77 on Windows (Mingw32 and Cygwin ports).

Best Regards,

-----------
Helmut Michels
Max-Planck-Institut fuer
Sonnensystemforschung
michels@linmpi.mpg.de
DISLIN Home Page: http://www.dislin.de
Matt Newville

2004-09-25, 4:00 am

The pgplot source kit should be available from the PGPLOT ftp site.
PGPLOT is a little awkward to build. For automated configuring and
installation of PGPLOT on linux, I use the shell script here:
http://cars9.uchicago.edu/ifeffit/src/PGPLOT_install

This downloads the source kit, configures PGPLOT for X11, Postscript,
and PNG drivers, and builds libpgplot.a and the demos. That should
do most of what you want, or at least get you started.

--Matt Newville
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com