Displaying 2 results from an estimated 2 matches for "monthtick".
Did you mean:
monthticks
2013 Aug 25
3
Time axis formatting.
Attached is a plot with a time series. If I have a time series object in R.
How do I get the plot in the attached format of time axis?. When I issue
plot(ts) I get a time series plot with tic only for years.
--
with best regards
Sudheer
**********************************************************************************
Dr. Sudheer Joseph
Scientist
INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION
2009 Jul 24
1
adjusting grid on Xaxis ticks
Hello,
I have been trying to plot correctly a graph for 2 month now, with no success.I want to put a grid, adjusted on the X axis tickers.
Here is the way I build my X-Axis and my grid:
grid(11, NULL, col="grey40")
axis(2)
# build the tickers on the beginning of each monthticks.at <- seq(ISOdatetime(lastYear, 01, 01, hour=0, min=0, sec=0, tz="GMT"), ISOdatetime(lastYear, 12, 31, hour=0, min=0, sec=0, tz="GMT"), by = "months")
ticks.lab <- format(ticks.at, format = "%b")
Axis(ISOdatetime(lastYear, substr(index(xts1),6,7), subs...