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.

inputdlgExampleCreate a dialog box to input an integer and colormap name. Allow one line foreach value.prompt = {'Enter matrix size:','Enter colormap name:'};title = 'Input for peaks function';lines= 1;def = {'20','hsv'};answer = inputdlg(prompt,title,lines,def);See Alsodialog, errordlg, helpdlg, questdlg, warndlg2-248

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

Saved successfully!

Ooh no, something went wrong!