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일

1 개 추천

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개)

카테고리

질문:

AA
2015년 2월 3일

댓글:

AA
2015년 2월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by