Thank you for the quick reply.
My code always includes "call plparseopts(1)" before plinit(1). But,
when I build the code as "g77 x01f.f `plplot-config --cflags --libs --
with-f77` -o x01f" and then the code shows "Requested device jpeg not
available" when the code run as "./x01f -dev jpeg".
Does that thing mean that my system doesn't have output driver and
installation of PLplot was failed ? How to do that ?
I have another question. If I use intel fortran 9.1 to build the cord
with PLplot, the code shows "plparseopts: negative number of
arguments" when the code run. But I can get right plot result. What
is problem under this situation ?
On May 22, 2007, at 3:38 PM, Alan W. Irwin wrote:
> On 2007-05-22 15:15+0900 Hiroyasu YASUDA wrote:
>> Dear all:
>> I have been using PLplot with fortran on Mac OSX and PLplot always
>> helps my works.
>> Although I output to ps or X-Window, I would like to output to
>> Aquaterm and Jpeg. How to write the fortran cord with PLplot in oder
>> to to use some output drivers, how to build the my code ? Please let
>> me know.
> If you put "call plparseopts(1)" as the first plplot fortran call
> in your
> code (e.g., before call plinit()), you can use a command-line
> option, e.g.,
> ./x01f -dev jpeg
> This method is used for all our many fortran examples, see
> examples/f77 and examples/f95.
> Alternatively, I believe you can hard-code a device in your fortran
> using, e.g., call plsdev('jpeg'), but I never use that method since
> command-line option is so much easier to use.
> Alan W. Irwin
> Astronomical research affiliation with Department of Physics and
> University of Victoria (astrowww.phys.uvic.ca).
> Programming affiliations with the FreeEOS equation-of-state
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting
> package (plplot.org); the libLASi project (unifont.org/lasi); the
> Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> Linux-powered Science
Civil Engineering Research Institute
Hiragishi 1-3, Toyohira, Sapporo,062-8602, JAPAN
Phone; +81-11-841-1639, Fax; +81-11-820-4246