Borrar filtros
Borrar filtros

Some issue with recessionplot(.) function of 2012a

1 visualización (últimos 30 días)
Nick Baltas
Nick Baltas el 26 de Mzo. de 2012
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

Respuesta aceptada

Oleg Komarov
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)

Categorías

Más información sobre Data Preprocessing en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by