12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

histChange the color of the graph so that the bins are red and the edges of the binsare white.h = findobj(gca,'Type','patch');set(h,'FaceColor','r','EdgeColor','w')400350300250200150100500−3 −2 −1 0 1 2 3See Alsobar,ColorSpec,histc,patch,stairs2-224

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!