mapField              package:clim.pact              R Documentation

_M_a_p_F_i_e_l_d

_D_e_s_c_r_i_p_t_i_o_n:

     Draws maps of fields in a field object, eg read using
     `retrieve.nc'.

_U_s_a_g_e:

     mapField(x,l=NULL,greenwich=TRUE,what="ano",method="nice",val.rng=NULL,
                            col="black",col.coast="grey",lwd=2,lty=1,add=FALSE,las = 1)

_A_r_g_u_m_e_n_t_s:

       x: A field object. 

       l: The field to map. Default: the last field in the record.

    what: What to draw: "ano"-> anomalies, "cli"-> climatological
          values, "abs" -> absolute values. 

  method: "nice" -> `filled.contour', otherwise use `image'.

 val.rng: Valid range: interval used for colour scale.

greenwich: 'TRUE' centres on Greenwich meridian.

     col: Contour line colour for levels.

col.coast: Contour line colour for coast lines.

     lwd: Line width.

     lty: Line type.

     add: Adds map to old figure.

     las: See par

_V_a_l_u_e:

_A_u_t_h_o_r(_s):

     R.E. Benestad

_E_x_a_m_p_l_e_s:

     library(clim.pact)

     skt<-retrieve.nc("skt.mon.mean.nc",
                      x.rng=c(-90,50),y.rng=c(0,75))
     bitmap("ncep.skt.jpg",type="jpeg")
     mapField(skt)
     dev.off()

