Thread Subject: about xticklabel

Subject: about xticklabel

From: j chong

Date: 23 Nov, 2009 07:08:03

Message: 1 of 4

I have some problems in xticklabel

for I am plotting the stock's close value in the figure, if I use the date number as the xtick, there will be some blank areas because there are no trading in weekends.
So I use "plot(close)" and change the xticklabel to the date, but the datas are so many, it shows in mess.

How can this problem be solved?

Subject: about xticklabel

From: TideMan

Date: 23 Nov, 2009 07:12:01

Message: 2 of 4

On Nov 23, 8:08 pm, "j chong" <jmic...@126.com> wrote:
> I have some problems in xticklabel
>
> for I am plotting the stock's close value in the figure, if I use the date number as the xtick, there will be some blank areas because there are no trading in weekends.
> So I use "plot(close)" and change the xticklabel to the date, but the datas are so many, it shows in mess.
>
> How can this problem be solved?

Have a look at:
datetick
It takes date number and labels the axis using the options in datestr.

Subject: about xticklabel

From: j chong

Date: 23 Nov, 2009 07:29:06

Message: 3 of 4

You misunderstanded me.
I don't want to use time as the xlabel because there will be some blank areas because the there are no close values in the weekend. I want the value can be continuous.
also, as I use the "datetick", when I expand the figure, I may see no xlabel.




TideMan <mulgor@gmail.com> wrote in message <cbab19ec-c7e6-4a14-a2d0-3e53d3308400@u16g2000pru.googlegroups.com>...
> On Nov 23, 8:08?pm, "j chong" <jmic...@126.com> wrote:
> > I have some problems in xticklabel
> >
> > for I am plotting the stock's close value in the figure, if I use the date number as the xtick, there will be some blank areas because there are no trading in weekends.
> > So I use "plot(close)" and change the xticklabel to the date, but the datas are so many, it shows in mess.
> >
> > How can this problem be solved?
>
> Have a look at:
> datetick
> It takes date number and labels the axis using the options in datestr.

Subject: about xticklabel

From: TideMan

Date: 23 Nov, 2009 09:51:30

Message: 4 of 4

On Nov 23, 8:29 pm, "j chong" <jmic...@126.com> wrote:
> You misunderstanded me.
> I don't want to use time as the xlabel because there will be some blank areas because the there are no close values in the weekend. I want the value can be continuous.
> also, as I use the "datetick", when I expand the figure, I may see no xlabel.
>
> TideMan <mul...@gmail.com> wrote in message <cbab19ec-c7e6-4a14-a2d0-3e53d3308...@u16g2000pru.googlegroups.com>...
> > On Nov 23, 8:08?pm, "j chong" <jmic...@126.com> wrote:
> > > I have some problems in xticklabel
>
> > > for I am plotting the stock's close value in the figure, if I use the date number as the xtick, there will be some blank areas because there are no trading in weekends.
> > > So I use "plot(close)" and change the xticklabel to the date, but the datas are so many, it shows in mess.
>
> > > How can this problem be solved?
>
> > Have a look at:
> > datetick
> > It takes date number and labels the axis using the options in datestr.

Please don't top post. I makes the thread hard to follow.
Put your reply UNDERNEATH.

What you're looking for is idiosyncratic.
For all applications I have ever used/seen, the abscissa is
continuous.
Maybe you should transform your times into 5-day weeks and decimals of
weeks.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com