drawing several graphs or charts in a row

1 次查看(过去 30 天)
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?.

采纳的回答

Chad Greene
Chad Greene 2015-2-3
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 个评论
AA
AA 2015-2-9
it doesnt work. it draws all charts in the same figure. i want it to be drawn in seperate figures

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Title 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by