[Thread Prev][Thread Next][Index]

Re: [ferret_users] vector type and insert small sinusoidal graph to main graph



Hi -
I think you'll be very happy if you upgrade your Ferret; you'll be able to use the graticules and lots of other new features that have been added to Ferret since then.  Let's wait and see if you are able to use ferret -gif  once you upgrade - if not we can help you check into what's happening.

About vector line styles,  a couple of ideas. There is an FAQ about line-thickness in postscript output, which may be all that you need:
http://ferret.pmel.noaa.gov/Ferret/faq/changing-line-thickness-in-postscript-files

You can get a dashed line for vectors, but only for postscript output from a metafile.  In Fprint, there is an option to translate the metafile into a black-and-white or a color plot.  Here is the help from Fprint:

> Fprint
Script to translate Ferret's graphics metafile(s) to PostScript
usage: Fprint [-P printer || -o file_name || -X]
              [-p landscape || portrait] [-# <number of copies>]
              [-l ps || cps] [-R] metafile(s)
 
   -P: send PostScript output to the named printer
   -o: send PostScript output to a file and don't print the plots
   -X: send the plots to your X Window for preview
   -p: page orientation, landscape or portrait
   -#: print more than one copy of the plots
   -l: line styles, ps == monochrome, cps == color
   -R: do not rename files with a date stamp appended (default is to stamp)
   -C: Output a CMYK postscript file (default is RGB)
Examples:
    Fprint metafile.plt*
    Fprint -P marker -l cps -# 10 metafile.plt*
    Fprint -p portrait -R metafile.plt.~2~
So, make your plot with different color pens for the different styles,
yes? set mode meta
yes? ...
yes? vector u1,v1                      ! solid lines
yes? vector/over/color=green u2,v2     ! dotted lines  (or equivalently /pen=3)
yes? vector/over/color=lightblue u3,v3 ! dashed lines  (or equivalently /pen=5)
yes? ...
Then translate that to postscript with  '-l ps'
>  Fprint -l ps metafile.plt -o blackwhite.ps

--Ansley

On 7/13/2011 1:37 AM, dessy berlianty wrote:
Dear Ferret Users,

I am using Ferret v5.53, and I think probably will not try to upgrade this version... :&quot;> blushing

After searching in Ferret User-Guide and Ferret Users Group & E-mail Archive, I can not find the way to make dash vector.

I will use this kind of vector to separate my graph into three range value. I applying three thickness command (thick=1, 2, and 3), but the result shows not quite different for each thick command.

I also tried using hgrat, but I think this command is not suitable in my Ferret version.

My next question is how to insert small figure to main figure? Actually, I always failed trying use Ferret -gif, any suggestion about this problems?

Thank you in advance for any help and suggestion.

Sincerely yours,

dessy

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement