keep all plot features in matlab livelink

Please login with a confirmed email address before reporting spam

There's a matlab file (function out = model) that creates a model, solves and postprocesses. All plot features including titles, legends are written within this model m function. Then use mphplot(model,'pg') to plot 'pg'. But this loses all plot features. How to use mphplot while keeping all plot features without rewriting all features?


1 Reply Last Post 2025年4月2日 GMT-4 03:41
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 hour ago 2025年4月2日 GMT-4 03:41

I don't follow your question.

Please supply the script you are using. Save the model as an MPH-file as well. What plot do you get when executing mphplot(model,'pg')? What do you expect to happen?

Be specific and supply screenshots.

-------------------
Lars Gregersen
Comsol Denmark
I don't follow your question. Please supply the script you are using. Save the model as an MPH-file as well. What plot do you get when executing mphplot(model,'pg')? What do you expect to happen? Be specific and supply screenshots.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.