When I change the colormap in the MatLab environment to grayscale with the line
colormap gray(256);
a new blank window opens. Semicolon in the end of the line makes no differens.
How can I avoid that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
colormapapplies to a figure. If you don’t specify a figure, then it uses the current figure by default. If there is no current figure, then one gets created (this is the same behaviour that you get for lots of commands, e.g.xlim).