[GRASSLIST:10733] cannot put text in graphics in R

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Sat Mar 4 12:04:35 EST 2006


Hello all,
I am trying to make some postscript graphics of some variograms in R,
but I can't.
Last time I did this kind of thing was prior to R version 2.. did
something changed since then?

this is what I am doing:

>postscript(file="variogram.ps", horizontal=F,
onefile=F,height=5,width=5, pointsize=10)
> plot(variog1, model=vrg.eye2 , main="", xlab="Distance (m)", ylab="Semivariance", col="black")

so far, so good, but when I try tu add text..

> text(3500,7600,"Range: 2650m"); Error in text.default(3500, 7600, "Range: 2650m") :
        plot.new has not been called yet
>


tks

Carlos
--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke




More information about the grass-user mailing list