change graph in reporting test to show how to associate integers with time periods
parent
5d05adeab6
commit
13547964dc
|
@ -178,8 +178,8 @@ rep = rep.addSeries('data', db_q{'LRPOIL_BAR_WORLD'}, ...
|
|||
rep = rep.addGraph('title', 'World Real Food Price Index', ...
|
||||
'xrange', prange, ...
|
||||
'shade', srange, ...
|
||||
'xTicks', [1,5,10,15,find(srange(1)==prange),length(prange)], ...
|
||||
'xTickLabels',{startpoint{:},'2008Q1','2009Q2','2010Q3',shaded{:}, endpoint{:}},...
|
||||
'xTicks', 1:length(prange), ...
|
||||
'xTickLabels', strsplit(num2str(1:length(prange))), ...
|
||||
'xTickLabelRotation', 0, ...
|
||||
'showLegend', true, ...
|
||||
'legendAt', [.5,.5]);
|
||||
|
|
Loading…
Reference in New Issue