Tentei rodar o vosso exemplo e deu problema logo quando chamei a biblioteca, alguém sabe o que é?
 
> library(repmis) # reads text data directly from dropbox - no need to download any file
Error : .onLoad falhou em loadNamespace() para 'rJava', detalhes:
  chamada: fun(libname, pkgname)
  erro: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Erro: package or namespace load failed for ‘repmis’
 
Caros Izidro Pi, Luis Iván e Jônatan,

Obrigado pelas suas respostas. Analisei cada uma delas e todas foram úteis, mas o Jônatan foi um passo adiante e antecipou a reposta para a próxima pergunta que eu ia fazer na lista - como combinar dois gráficos mantendo um mesmo eixo x.
 
Saudações,
--
Thiago V. dos Santos
PhD student
Land and Atmospheric Science
University of Minnesota
http://www.laas.umn.edu/CurrentStudents/MeettheStudents/ThiagodosSantos/index.htm
Phone: (612) 323 9898


On Thursday, September 11, 2014 8:13 AM, Jônatan <jdtatsch@gmail.com> wrote:


Segue algumas alternativas:
 
library(repmis) # reads text data directly from dropbox - no need to download any file
# read data
tmp <- repmis::source_data(url, sep = '', header = TRUE)
 
# convert julian day to date
date <- as.Date(tmp$julian, origin='2011-12-31')
data <- cbind(date, tmp)
head(data)
# define vector with depth of soil layers
depths <- c(0.05,0.10,0.20,0.30,
                 0.40,0.60,0.80,1.00,
                 1.50,2.00,2.50)
 
# teste com lattice
cols <- ncol(data):4
levelplot(as.matrix(data[, cols]),
          aspect = "fill", xlab = "date", ylab = "soil Moist.",
          scales = list(x = list(at = which(date %in% pretty(date)),
                                 labels = pretty(date)),
                        y = list(at = length(cols):1, labels = depths)),
          contour = T)
 
# Plot soil moisture profile
 
# como são profundidades (abaixo da superfície) use a convenção de z negativo
# acrescentei a chuva, precisa ajustar ylabels, mtext() resolve
 
x11()
op <- par(mar = c(3,4,12,3))
plot <- filled.contour(date, sort(-depths), as.matrix(data[, cols]), ylab = expression(theta(m^3~~m^-3)))
par(new=T,mar=c(23,4,1,8))
with(data,
      plot(date, precip, type = "h", xaxt = "n", xpd = T, xaxs="i", ylab = "Precip (mm)", xlab = ""))
par(op)