From: Kuo-Hsien on
Hi all,

I have a plot need some shade zones for emphasis. I can find some useful code to emphasize the time series, however I can't find one for emphasis the Y axis. For example, I like to emphasis [Y1 Y2], [Y5 Y6] and so on. Here, Y1 = 5, Y2 = 10, Y5 = 30 and Y6 = 40.

Thank you.
From: Ashish Uthama on
On Mon, 26 Apr 2010 22:54:05 -0300, Kuo-Hsien <mchangks(a)hotmail.com> wrote:

> Hi all,
>
> I have a plot need some shade zones for emphasis. I can find some useful
> code to emphasize the time series, however I can't find one for emphasis
> the Y axis. For example, I like to emphasis [Y1 Y2], [Y5 Y6] and so on.
> Here, Y1 = 5, Y2 = 10, Y5 = 30 and Y6 = 40.
>
> Thank you.

Can you post code with dummy data for the plot you have? It might help
CSSMers better understand what you mean by 'ephasis'.

Something like this?
>> plot(1:10,1:10)
>> hold on
>> plot(1:2:10,1:2:10,'r*')
From: Kuo-Hsien on
> Can you post code with dummy data for the plot you have? It might help
> CSSMers better understand what you mean by 'ephasis'.
>
> Something like this?
> >> plot(1:10,1:10)
> >> hold on
> >> plot(1:2:10,1:2:10,'r*')


Here is the link: http://blogs.mathworks.com/pick/2007/07/27/shading-plots-for-emphasis/

This code only shades along x axis. How to shade along y axis?

Thank you.