[Thread Prev][Thread Next][Index]

Graticule



          Hi all,

I want to plot graticules on a plot with an interval of 10° between each line (on X and Y).
I searched the documentation and found the script mp_graticule.jnl, but can not make it work correctly.
Here is my script :

! Script ferret pour la generation de cartes sur des variables 2D et 3D couleur
! Arguments :
!       1 -             data
!       2,3,4,5,6 -     x_min,x_max_y_min,y_max,z
!       7,8,9,10,11 -   level_min, min, max, level_max, step
!       12 -            variable
!       13              step contour
                                                                                                                                                                                    
cancel mode verify
cancel mode interp
set mem/size=127
cancel data/all
                                                                                                                                                                                    
set data "$1"
                                                                                                                                                                                    
set region/x=$2:$3/y=$4:$5/z=$6
                                                                                                                                                                                    
! Projection geographique
set grid $12
go mp_plate_caree
go mp_aspect
                                                                                                                                                                                    
fill/nolabs/nokey $12
                                                                                                                                                                                    
! plot memoire du champ
fill/nolab/levels=(($ppl$zmin))($8,$9,$11)(($ppl$zmin))/set_up $12;
                                                                                                                                                                                    
! plot reel (ou display ou ps si ferret est lance en batch ps)
ppl fill
                                                                                                                                                                                    
! plot memoire des contours
!contour/GRAT=(line,COLOR=black)/nolab/overlay/levels=($8,$9,$13) $12
contour/nolab/overlay/levels=($8,$9,$13) $12
                                                                                                                                                                                    
! masque de Terre
go fland 5
                                                                                                                                                                                    
! grille lon-lat
go mp_graticule $2 $3 10 $4 $5 10

With ferret v5.6 there  is the mode graticule, but can I specify the interval between each line ?

Thanks in advance for the help.
Tony
                                                                                                                                                            &nb sp;                      


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement