Some issue with recessionplot(.) function of 2012a
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Oleg Komarov
2012-3-26
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])
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!