Borrar filtros
Borrar filtros

drawing several graphs or charts in a row

1 visualización (últimos 30 días)
AA
AA el 3 de Feb. de 2015
Comentada: AA el 9 de Feb. de 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?.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by