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 ? Regards, Hiro 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 > code > using, e.g., call plsdev('jpeg'), but I never use that method since > the > command-line option is so much easier to use. > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > software > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > ------from 安田 浩保 寒地土木研究所 寒地河川チーム 〒062-8602 札幌市豊平区平岸1条3-1-34 Tel;011-841-1639 Fax;011-820-4246 [EMAIL PROTECTED] ------from Hiroyasu Yasuda Civil Engineering Research Institute Hiragishi 1-3, Toyohira, Sapporo,062-8602, JAPAN Phone; +81-11-841-1639, Fax; +81-11-820-4246 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel