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.

custom colortables

Please login with a confirmed email address before reporting spam

Dear all,

do you know, whether it is possible to import custom colortables to Comsol?

I am using Matlab (2013b) together with Comsol (4.4) and would like to produce a surface plot of my data that does not use the predefined colortables of Comsol, but a home-made Matlab colormap as its colortable.

Thank you.
Hannes

2 Replies Last Post Aug 14, 2014, 8:54 a.m. EDT
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Aug 14, 2014, 8:51 a.m. EDT
The color tables are stored in data/colortables/ in the directory where you have installed the program. If you add a file there, it will be picked up automatically the next time you start the program. The color table file format is described in the documentation: Search for "color table" in the interactive help and follow the first hit that you get (API: Color Tables).
The color tables are stored in data/colortables/ in the directory where you have installed the program. If you add a file there, it will be picked up automatically the next time you start the program. The color table file format is described in the documentation: Search for "color table" in the interactive help and follow the first hit that you get (API: Color Tables).

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Aug 14, 2014, 8:54 a.m. EDT
Thanks!
That works great.
Thanks! That works great.

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.