[STATSGRASS] graphics in R
Matteo Dall'Amico
matteo.dallamico at ing.unitn.it
Fri Oct 5 09:11:06 EDT 2007
Thank you Jaroslaw,
I tried but "plot" doesn't seem to accept "add" as an argument:
> plot(temp[,2],add=TRUE)
Warning messages:
1: "add" is not a graphical parameter in: plot.window(xlim, ylim,
log, asp, ...)
2: "add" is not a graphical parameter in: plot.xy(xy, type, pch, lty,
col, bg, cex, lwd, ...)
3: "add" is not a graphical parameter in: axis(side, at,
as.graphicsAnnot(labels), tick, line, pos, outer,
4: "add" is not a graphical parameter in: axis(side, at,
as.graphicsAnnot(labels), tick, line, pos, outer,
5: "add" is not a graphical parameter in: box(which = which, lty =
lty, ...)
6: "add" is not a graphical parameter in: title(main, sub, xlab,
ylab, line, outer, ...)
Suggestions?
Thanks,
Matteo
On 5 Oct 2007, at 12:26, Jarosław Jasiewicz wrote:
> Matteo Dall'Amico napisał(a):
>
>> Hello,
>> I would like to raise a question about plotting: I would like to
>> plot on the SAME graph the temperature with time of sensors at
>> different depth.
>> That means, I would like to have in the same graph on the x-axis
>> the time, y-axis the temperature, and on the graph several curves
>> with different colors representing the different depth.
>> I have a file with the first column representing the time, column
>> 2 representing the temperature at depth1, column 3 the temperature
>> at depth2... and so on.
>> Does someone know how I could do that?
>> Thanks a lot in advance,
>>
>> Matteo
>>
>> ---------------------------------
>> Matteo Dall'Amico
>> PhD candidate
>> CUDAM and department of Civil and Environmental Engineering
>> Universita' degli Studi di Trento
>> Via Mesiano 77 - 38050 Trento - Italy
>> email: matteo.dallamico at ing.unitn.it
>> <mailto:matteo.dallamico at ing.unitn.it>
>> Tel. +39 0461 882610
>> Fax +39 0461 882672
>> http://www.dottorato.it/trento/
>> ---------------------------------
>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> statsgrass mailing list
>> statsgrass at grass.itc.it
>> http://grass.itc.it/mailman/listinfo/statsgrass
>>
> plot(first_graph, col=red, xlim=c(min_time_of_whole_data,
> max_time_of_whole_data), ylim=c(min_temp_of_whole_data,
> max_temp_of_whole_data),....)
> plot(second_graph, col="green", add=TRUE)
> .....
> plot(n_graph, col="anyone", add=TRUE)
>
> hope you need this
>
> Jarek
>
More information about the grass-stats
mailing list