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.
Saving plot from mphplot() to disk
Posted 22 apr 2012, 18:05 GMT-4 Interfacing Version 4.2a 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I'm having a hard time trying to save a plot which comes from mphplot(). What I'm trying is:
figure;
mphplot(model,'pg3');
saveas(gcf,'result_plot.tiff');
But it just produces an error 'Warning: RGB color data not yet supported in Painter's mode'. So I guess it's an issue with the renderer Matlab uses. Changing the renderer with set(gcf,'Renderer','zbuffer'); does seems not to work.
Is there an easy way to save a Comsol Plot to disk?
I'm having a hard time trying to save a plot which comes from mphplot(). What I'm trying is:
figure;
mphplot(model,'pg3');
saveas(gcf,'result_plot.tiff');
But it just produces an error 'Warning: RGB color data not yet supported in Painter's mode'. So I guess it's an issue with the renderer Matlab uses. Changing the renderer with set(gcf,'Renderer','zbuffer'); does seems not to work.
Is there an easy way to save a Comsol Plot to disk?
2 Replies Last Post 9 giu 2014, 10:58 GMT-4