Thank you very much.
Stefano
(oo)
--oOO--( )--OOo
Stefano Sofia PhD
Civil Protection - Marche Region
Meteo Section
Snow Section
Via del Colle Ameno 5
60126 Torrette di Ancona, Ancona
Uff: 071 806 7743
E-mail: stefano.so...@regione.marche.it
Hello,
You cannot pass a vector of colors to col.axis, you need to plot the
axis twice, once the normal axis, like in your code, then overplot just
those last 2 labels.
xlabels <- seq(trunc(as.POSIXct(first_day, format="%Y-%m-%d-%H-%M"),
"days"), trunc(as.POSIXct(last_day,
Dear R users,
in a plot I need to change the colours of some of the labels of the x-axis.
In the example below reported, I would like to have the labels of the last and
second-last date in red.
I tried to find the solution searching the web, but I could not understand the
hints and I was not
3 matches
Mail list logo