Filter löschen
Filter löschen

drawing several graphs or charts in a row

1 Ansicht (letzte 30 Tage)
AA
AA am 3 Feb. 2015
Kommentiert: AA am 9 Feb. 2015
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?.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by