[Thread Prev][Thread Next][Index]

Re: [ferret_users] Printing images



Hi Juliette -

I assume this means you are running the scripts on your machine and producing plots (?). In that case there are 2 methods: FRAME to make/ save a gif file (looks fine on the screen but prints pixelated), or Fprint (for making ps/pdf for nice [scaleable vector graphic] printing).

Both are described in the user manual.

For the Fprint method on a Mac:

yes? set mode meta     !  before issuing the plot commands:
yes? ....your plot commands....
yes? ppl clsplt              ! close the metafile
yes? can mode meta ! close mode meta (must be done after each plot on a Mac)

=> now you will find a file called metafile.plt in the directory from which you are running Ferret => from the command line (outside Ferret), run Fprint with options as in the manual. E.g.:
Fprint -p portrait -l cps -o your_desired_filename.ps metafile.plt
(Try "Fprint -help" on the command line outside of Ferret)
This will make a postscript file. Convert it to pdf using ps2pdf or however you like to do it. You might find that lines are very thin on some printers. If that's a problem, search the mail archives for "thicken lines" or "postscript" for various workarounds.

Then you probably want to remove the metafile.plt files (Fprint renames to metafile_*.plt with a timestamp).

BK

On 29 Dec 2010, at 8:51 AM, Juliette Harrington wrote:

Hi ferreters,


I've been trying to print some of the images from the ferret tutorials, but I'm not having much success. Is there a way for me to save the graphs, etc., shown in X11, and then print them? If it helps, I'm using a mac.


I'm new to this, so sorry for a probably simple question.


Juliette Harrington

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William S. Kessler
NOAA / Pacific Marine Environmental Laboratory
7600 Sand Point Way NE
Seattle WA 98115 USA

william.s.kessler@xxxxxxxx
Tel: 206-526-6221
Fax: 206-526-6744
Web: http://www.pmel.noaa.gov/people/kessler



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement