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 with MATLAB - 'colortablerev' doesn't work

Please login with a confirmed email address before reporting spam

Hi,

I am working with “COMSOL 4.2 with MATLAB” and I want to plot the mesh quality. This works quite fine. But if I try to reverse the colors with the MATLAB command:

model.result('pg1').feature('surf1').set('colortablerev', 'on');

nothing happens, the colors stay as they are. If I do the model in COMSOL (without MATLAB) I can reverse the color (Reverse_test.mph). But if I save it as an m-file (Reverse_test.m) and run this in MATLAB reverse of the color doesn’t work. For this compare the colors of the graph of the .mph file and the .m, which should be the same.

How can I get this working?

Thanks in advance for your help

Simon


2 Replies Last Post 27 févr. 2012, 08:21 UTC−5
COMSOL Moderator

Hello Simon Bühler

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 27 févr. 2012, 08:19 UTC−5
Hi,

I have the same problem, did you allready find a solution?

Tessa
Hi, I have the same problem, did you allready find a solution? Tessa

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 févr. 2012, 08:21 UTC−5
No sorry, I gave up (and I didn't retry in later versions)
No sorry, I gave up (and I didn't retry in later versions)

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.