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
__________________________

-------------------------------------------------------------------------
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

Reply via email to