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.

MATLAB+Comsol Colorbar scaling

Please login with a confirmed email address before reporting spam


I am trying to post process my surface plot with LiveLink. Everything seems to work I just couldn't find a way to scale my colorbar to the size of the picture so that the colorbar isn't 5 times as big as the plot itself. See the screenshot for reference. I have plenty of space to make the picture bigger if the colorbar could be scaled down. Below is the matlab code as well as picture.

Any help is highly appreacited!

figure(2) mphplot(model,'pg1','rangenum',1) axis([-199 600 -200 6000]); camroll(90); grid off; print -depsc rad_L

0 Replies Last Post 26 Mar 2020, 12:13 GMT-4
COMSOL Moderator

Hello Bence Almasi

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.

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.