MATLAB Answers

Creating more figures with/in command window

Asked by Hello kity on 14 Dec 2012


I have some results, nowing showing it in a histogram,


the command windows creates a figure (Figure 1), but entering the second code, with new HISTA(DATA2), overwrites the first figure (1).

How can program that it makes a 2nd figure for the 2nd hist/graph.



No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 14 Dec 2012
 Accepted answer

Before the second hist() call, give the command



Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!