Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

COMSOL 4.2a Background Color

Please login with a confirmed email address before reporting spam

Is there a way to change the light blue background of COMSOL 4.2 to plain white in the main view? Thanks.

6 Replies Last Post Oct 5, 2015, 9:27 p.m. EDT
COMSOL Moderator

Hello Nima Zirak

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 14, 2012, 11:13 a.m. EST
we are also would like to know how to change it....
we are also would like to know how to change it....

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 21, 2014, 8:40 a.m. EST
You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff
You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Apr 5, 2015, 8:13 a.m. EDT

You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff


This is great, I have a follow up question, how do you control the color of the grid?

Thank you,

[QUOTE] You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff [/QUOTE] This is great, I have a follow up question, how do you control the color of the grid? Thank you,

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Oct 4, 2015, 3:47 a.m. EDT

You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff


Hi Jeff,
I need to change the canvas color (COMSOL v4.4). I tried to follow your instructions but did not quite understand "editing the target of your COMSOL icon". Could you please give me more details or just upload a screenshot to help me with this? Thanks a lot in advance.

Best,
Can
[QUOTE] You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff [/QUOTE] Hi Jeff, I need to change the canvas color (COMSOL v4.4). I tried to follow your instructions but did not quite understand "editing the target of your COMSOL icon". Could you please give me more details or just upload a screenshot to help me with this? Thanks a lot in advance. Best, Can

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Oct 5, 2015, 8:29 a.m. EDT
Hello Can,
Right-click on the COMSOL icon on your desktop, then select Properties. In the window that pops up, under the Shortcut tab, you'll find the Target field. That's the string you need to edit.
Best regards,
Jeff
Hello Can, Right-click on the COMSOL icon on your desktop, then select Properties. In the window that pops up, under the Shortcut tab, you'll find the Target field. That's the string you need to edit. Best regards, Jeff

Please login with a confirmed email address before reporting spam

Posted: 9 years ago Oct 5, 2015, 9:27 p.m. EDT
Hi Jeff,

Yes, it works now. Well, there was a small episode. At the beginning, I missed the space before "-Dcs....", with a pop-up saying like "invalid path...! " Then, I checked the string again and again and finally found the difference. Thanks very much!


Best,
Can

Hi Jeff, Yes, it works now. Well, there was a small episode. At the beginning, I missed the space before "-Dcs....", with a pop-up saying like "invalid path...! " Then, I checked the string again and again and finally found the difference. Thanks very much! Best, Can

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.