Hi,
My understanding might be incorrect, but I believe the following code should add an horizontal line on the left axis, not the right axis.
>> [h_fig,h_lhs,h_rhs,h_rng] = plotyy(tseries(qq(2010,1),rand(10,1)),100*tseries(qq(2010,1),rand(10,1)));
>> hline(h_fig(1),0.4)
To confirm whether I had the correct handle, I tried "get(h_fig(1),'YTickLabel')" versus "get(h_fig(2),'YTickLabel')". I believe I have the correct handle.
Thank you for any insight on this,
Nicholas