drawing several graphs or charts in a row

I have four different functions (function1, function2, function3´..) They are run in a script and they contain the following code:
col1 = golrowA(:, 3);
col2 = golrowA(:, 4);
col3 = golrowA(:, 5);
col4 = golrowA(:, 6);
candle(col2,col3,col4,col1)
The problem is that all four functions draw the graph in the same window and then it gets squeezed to the extent that it is not readable anymore. How can I draw the graph in a seperate window so that every window has the corresponding title, ie. function 1, function 2, function 3?.

 Accepted Answer

Do you want to create a new figure window for each plot? If so, use a figure command before each candle call:
figure('name','function 1','numbertitle','off')
candle(blahblah)
figure('name','function 2','numbertitle','off')
candle(blahdeblah)

1 Comment

it doesnt work. it draws all charts in the same figure. i want it to be drawn in seperate figures

Sign in to comment.

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Asked:

AA
on 3 Feb 2015

Commented:

AA
on 9 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!