MATLAB Answers

0

Uneven spacing between texts in command window?? help!!!

Chirag Dudhat さんによって質問されました 2019 年 5 月 8 日
最新アクティビティ Chirag Dudhat さんによって コメントされました 2019 年 5 月 8 日
As you can see it, something triggered uneven spacing in command windows. I do not know how to describe it properly. So I am posting a screenshot here. I am not sure how it happened, but it is kinda annoying. I have a matrix j and because of uneven spacing, the positions for element '4' and '5' are shifted toward left visually. I ran the same code on "MATlab online"(scroll horizontally) and you can see the visual difference between two outputs. how can i change back it normal?

  2 件のコメント

Walter Roberson
2019 年 5 月 8 日
What do you have your command window font preference set to?
Adam Danz
2019 年 5 月 8 日
My guess is that you're not using a fixed width font.
Here's instructions how to change the font:
Try setting it to Monospaced.

サインイン to comment.

2 件の回答

per isakson
回答者: per isakson
2019 年 5 月 8 日
 採用された回答

Try to use a fixed-width font

  1 件のコメント

Chirag Dudhat 2019 年 5 月 8 日
Thanks a lot!! it worked :)

サインイン to comment.


Steven Lord
回答者: Steven Lord
2019 年 5 月 8 日

In the Environment section of the Home tab of the Toolstrip, select Preferences. Navigate to the Fonts item under MATLAB. What font are you using for the Command Window? You may need to look not only at the "Desktop code font" section of the Fonts item but also the Custom subitem under Fonts.
Consider selecting a monospace option.

  1 件のコメント

Chirag Dudhat 2019 年 5 月 8 日
Thanks a lot!! it worked :)

サインイン to comment.



Translated by