|
That is exactly what I wanted too.
In my situation, I was plotting the mean of my data set with errorbars set to the length of the data's standard of deviation. However, my data set must be positive, and so, when the error bars would go into the negative domain my graph's 'ylim' property would expand to show it. On the one hand, the graph is doing what it should, but on the other hand, my data is only positive as it is calculated as a magnitude. Thus, I cannot have negative values, even if the errorbars say I can.
So, I think TMW should perhaps implement the ability to adjust a bit more easily the 'ylim' property, on a per limit basis, as the question requests.
Eric
"Matt Fig" <spamanon@yahoo.com> wrote in message <hee9mi$lej$1@fred.mathworks.com>...
> dpb <none@non.net> wrote in message <hee93u$mmh$1@news.eternal-
> > No, the 'Auto' value is only a property of X|Y|ZLimMode not of X|Y|ZLim
>
>
> But you can do something like this, if it is what you are really after:
>
> [x,y] = humps(0:.01:2);
> plot(x,y)
> YL = get(gca,'ylim');
> set(gca,'ylim',[-5 YL(2)]) % Adjust only the lower limit.
|