MATLAB: Plot Stock Chart and Overlay Remaining time series from Excel Worksheet

stock chart plot

Hello!
I am trying to plot data from Excel in Matlab…
I wonder if it is possible to plot a stock chart, from the stock data and then add more time series over it??? I have the following code to plot different time series from excel file (from http://www.mathworks.com/matlabcentral/answers/15871-plot-multiple-time-series-based-on-individual-condition):
%% [Num,Txt,Raw]=xlsread('test.xls'); colors = {'r', 'k', 'g'}; %red, black, green linetypes = {'–', '-'}; %dashed, solid figure(1);hold on; for k=2:23 plot(Num(4:end,1),Num(4:end,k),[colors{Num(1,k)},linetypes{Num(2,k)}],'linewidth',Num(3,k)); end
I wonder if the the stock-chart plot from financial toolbox can be used to plot 4 first time series from the following worksheet( and then the remaining time series to be overlaid over it):
ANY HELP IS HUGELY APPRECIATED!
D

Best Answer

Make your program flow like this:
f=figure;hold on;
candle(....)
Then run the previous code with the 'figure(1);hold on;' line.
Type help figure or doc figure to lean how to create new figure or use existing figure for plotting.
Related Question