Rank: 1018 based on 68 downloads (last 30 days) and 1 file submitted
photo

Zhipeng Gao

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Zhipeng
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 May 2006 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao graphics, plot, plotyy, layer plot, specialized, plotting 68 15
  • 4.58333
4.6 | 13 ratings
Comments and Ratings on Zhipeng's Files View all
Updated File Comment by Comments Rating
23 May 2011 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao paolo

Hi. someone could explain me how i do use this function?

I have no idea to use it. An example please.

I don't speak english very well.
Thanks!

10 Mar 2011 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao Sankararaj, Rubakumar
01 Mar 2010 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao ahrens, Jeff

Nice simple program. Just what I needed.

14 Feb 2010 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao Paul

Hi,

Great Little Programe - i've lost hours of my life playing with plotyy!!!

I have a question though. I'm using the edited version of the code as per Zhipeng Gao (25 May 2006) but i have a problem plotting the x-axis labels.

Here is my code.
----------------------------------------------------------------------
clf
plot_dates = X0_TS.dates('01-Jul-1980::01-Jan-2008');

[hAxes,hLine] = layerplot(plot_dates,fts2mat(hprx_reg.MAT5),plot_dates,fts2mat(X0_reg.IPRO),...
                    {'Date','Excess Hold Period Return','Difference in Belief'},...
                    [datenum(1980, 07, 01),datenum(2010, 07, 01); -0.2,+0.2; 0,+3],...
                    {'Excess Hold Period Return','Difference in Belief'});

set(hAxes,'XTick',[])
datetick('x', 10)

-----------------------------------------------------------------------------

X0.TS is a financial time series object which I extract the dates from. I would like to do something like :

x_ticks = [datenum(1980, 07, 01) datenum(1985, 07, 01) datenum(1990, 07, 01) datenum(1995, 07, 01) datenum(2000, 07, 01) datenum(2005, 07, 01) datenum(2010, 07, 01)];

to specify a common date range for both series. My code above works but but not properly. If I include x_ticks in set(hAxes,'XTick',[]) I get multiple labels on the x-axis?

Is there a simply way of doing this?

Many thanks

01 Dec 2009 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao Yoder, Nate

Has issues with resizing

Top Tags Applied by Zhipeng
graphics, layer plot, plot, plotting, plotyy
Files Tagged by Zhipeng
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 May 2006 layerplot A plot function much more powerful than plotyy Author: Zhipeng Gao graphics, plot, plotyy, layer plot, specialized, plotting 68 15
  • 4.58333
4.6 | 13 ratings

Contact us at files@mathworks.com