Some issue with recessionplot(.) function of 2012a
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I have just installed 2012a and tried the great function recessionplot(.). The result it great! However, after the application of this function, the x-axis of the plot has along with the dates, the factor 10^5 which is of course the scaling factor of the dates if one does not datenum(.) a time-series plot.
Even if one looks at the MATLAB help file for the function, the same problem appears in the example presented therein (look at the first 2 plots and notice the factor 10^5 appearing in the second plot) http://www.mathworks.co.uk/help/toolbox/econ/recessionplot.html
Any idea how to remove it without causing much inconvenience/hassle?
Many thanks, Nick
0 comentarios
Respuesta aceptada
Oleg Komarov
el 26 de Mzo. de 2012
Old bug (although it seems it's not reported):
set(gcf,'renderer','zbuffer');
But it doesn't support transaprency of the patch, thus set the 'FaceColor' to grey:
h = recessionplot;
set(gcf,'renderer','zbuffer')
set(h,'FaceColor',[.91 .91 .91])
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Preprocessing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!