Description Usage Arguments Value Author(s) Examples
Scatterplot with colored points
1 2 | scatterplot(x, y, z, zlim = NULL, ncol = 10, cpal = c("red", "white",
"blue"), ...)
|
x |
numeric vector |
y |
numeric vector |
z |
numeric vector |
zlim |
plot color range (default z range) |
ncol |
number of colors (default 10) |
cpal |
color palette (default red,white,blue) |
a plot
Felix <felix.fundel@dwd.de>
1 2 3 4 5 | condition = list(obs="!is.na(obs)",level="level%in%c(921)",statid="statid=='METOP-1 '",veri_forecast_time="veri_forecast_time==0",veri_run_type="veri_run_type==3",veri_ens_member="veri_ens_member==-1")
DT = fdbk_dt_multi_large("~/examplesRfdbk/example_monRad/monRAD_2014092406.nc",condition,vars=c("obs","lon","lat"),cores=1)
x11(width=12,height=7.5)
DT[,scatterplot(lon,lat,obs,pch=20,cpal=tim.colors(),ncol=20,cex=.5)]
world(add=T,col="gray",fill=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.