COMSOL Forums: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/
Most recent forum messagesThu, 28 Aug 2014 12:52:26 +0000COMSOL Forums: Preparation of figures for papers/thesis?http://www.comsol.com/shared/images/logos/comsol_logo.gif
http://www.comsol.com/community/forums/general/thread/34715/
Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p123693
Agreed. Vector graphics export is a crucial feature.Thu, 28 Aug 2014 12:52:26 +000034715.1409230346.123693Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p121911
<div class="quote"><br />
<br />
Thank you for the update.This was also mentioned previously in the thread by Chris L; a possible way forward is to use COMSOL's LiveLink for MATLAB interface. This setup requires both MATLAB and COMSOL's LiveLink for MATLAB product (<a href="http://www.comsol.eu/products/livelink-matlab/" title="www.comsol.eu/products/livelink-matlab/">www.comsol.eu/products/livelink-matlab/</a>). When working with the LiveLink for MATLAB interface, COMSOL plots are created in standard MATLAB figure windows. This gives us access to MATLAB's plot edit mode to control line thicknesses/colors/etc; MATLAB also supports the saving of 2D plots in EPS format. If you have access to both MATLAB and the LiveLink for MATLAB, this is the option we recommend.<br />
<br />
Best regards,<br />
Anders Ekerot<br />
</div><br />
<br />
Hi guys,<br />
<br />
I exported my plots to Matlab, but I'm not able to save the plat as a vector image. The .eps always ends up in a pixel figure. Has someone a clue what I making wrong????<br />
<br />
Thx<br />
<br />
Sat, 19 Jul 2014 11:48:55 +000034715.1405770535.121911Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95985
Hi<br />
<br />
probably the X houndred or tousand of us with COMSOL manage to live without eps, or use other softeware formats. <br />
<br />
Personally I have a longer list on the physics side I hope COMSOL will implement in the future, rahter than a full set of detailed plotting options for 1 particular format. Even if I fully nerstand your frustration, as correctly made plots, with titles and nits are mandatory, not only for "publishing" but also for enginnering reports. Luckily for me, most enginnering contracts are more focusing on the "correct" results, than on the nicest show, so I can get accepted handwritten or added titles, units and other comments, on my graphs, for my publications<br />
<br />
--<br />
Good luck<br />
IvarSun, 17 Feb 2013 13:05:19 +000034715.1361106319.95985Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95964
<div class="quote"><br />
Hi Chris,<br />
Let's not fail to mention that many things that once required add-ons are now feasible with just the base software. To name but a few: geometry parametrization, mesh parametrization, multi-step solution processes, too many post-processing plot types to list here, comparing solutions obtained with different meshes or different values of a parameter, a host of geometry operations, generating custom reports, importing a mesh, exporting a mesh, using virtual geometry operations, etc...<br />
Jeff<br />
</div><br />
<br />
Yes, fair enough. But considering what COMSOL is and how often it is used in research, having the ability to produce standard graphics seems pretty core. Not to mention, the solution suggested by COMSOL themselves requires (expensive) 3rd party software in addition to their own add on. Just to have an eps graphic, when they used to have it standard, it is really frustrating.<br />
<br />
~ChrisSat, 16 Feb 2013 00:49:32 +000034715.1360975772.95964Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95959
Hi Chris,<br />
Let's not fail to mention that many things that once required add-ons are now feasible with just the base software. To name but a few: geometry parametrization, mesh parametrization, multi-step solution processes, too many post-processing plot types to list here, comparing solutions obtained with different meshes or different values of a parameter, a host of geometry operations, generating custom reports, importing a mesh, exporting a mesh, using virtual geometry operations, etc...<br />
JeffFri, 15 Feb 2013 21:44:37 +000034715.1360964677.95959Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95956
<div class="quote"><br />
<div class="quote"><br />
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. <br />
<br />
Is there really no prospect of vector graphics export? <br />
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?<br />
</div><br />
<br />
Thank you for the update.This was also mentioned previously in the thread by Chris L; a possible way forward is to use COMSOL's LiveLink for MATLAB interface. This setup requires both MATLAB and COMSOL's LiveLink for MATLAB product (<a href="http://www.comsol.eu/products/livelink-matlab/" title="www.comsol.eu/products/livelink-matlab/">www.comsol.eu/products/livelink-matlab/</a>). When working with the LiveLink for MATLAB interface, COMSOL plots are created in standard MATLAB figure windows. This gives us access to MATLAB's plot edit mode to control line thicknesses/colors/etc; MATLAB also supports the saving of 2D plots in EPS format. If you have access to both MATLAB and the LiveLink for MATLAB, this is the option we recommend.<br />
<br />
Best regards,<br />
Anders Ekerot<br />
</div><br />
<br />
<br />
So now, basically, options that were once included in the COMSOL base software now require the purchase of additional add ons. Smart move.<br />
Fri, 15 Feb 2013 21:19:56 +000034715.1360963196.95956Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95907
<div class="quote"><br />
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. <br />
<br />
Is there really no prospect of vector graphics export? <br />
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?<br />
</div><br />
<br />
Thank you for the update.This was also mentioned previously in the thread by Chris L; a possible way forward is to use COMSOL's LiveLink for MATLAB interface. This setup requires both MATLAB and COMSOL's LiveLink for MATLAB product (<a href="http://www.comsol.eu/products/livelink-matlab/" title="www.comsol.eu/products/livelink-matlab/">www.comsol.eu/products/livelink-matlab/</a>). When working with the LiveLink for MATLAB interface, COMSOL plots are created in standard MATLAB figure windows. This gives us access to MATLAB's plot edit mode to control line thicknesses/colors/etc; MATLAB also supports the saving of 2D plots in EPS format. If you have access to both MATLAB and the LiveLink for MATLAB, this is the option we recommend.<br />
<br />
Best regards,<br />
Anders Ekerot<br />
<br />
Fri, 15 Feb 2013 11:58:15 +000034715.1360929495.95907Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95820
<div class="quote"><br />
Thank you for your comments and suggestions. In this case I would recommend trying a lower DPI, as this would produce a bigger image (a DPI setting of 1200 and a width of 4096 pixels results in an image just over 3 inches in width). The DPI setting also affects the size of the included extras, a lower DPI setting yields smaller colorbars/legends/etc.<br />
</div><br />
Thanks Anders, that helps. <br />
<br />
<div class="quote"><br />
An alternative method that can be useful is to resize the GUI image frame to the desired size before exporting it. In the Image snapshot menu, change the Image size to Current - the image will now be exported using the current size of the Graphics window.<br />
</div><br />
This suggestion leaves little flexibility, but thanks again.<br />
<br />
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. <br />
<br />
Is there really no prospect of vector graphics export? <br />
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?<br />
<br />
Ben.Wed, 13 Feb 2013 23:35:09 +000034715.1360798509.95820Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95783
Hello Ben,<br />
<br />
Thank you for your comments and suggestions. In this case I would recommend trying a lower DPI, as this would produce a bigger image (a DPI setting of 1200 and a width of 4096 pixels results in an image just over 3 inches in width). The DPI setting also affects the size of the included extras, a lower DPI setting yields smaller colorbars/legends/etc.<br />
<br />
An alternative method that can be useful is to resize the GUI image frame to the desired size before exporting it. In the Image snapshot menu, change the Image size to Current - the image will now be exported using the current size of the Graphics window.<br />
<br />
Best regards,<br />
Anders Ekerot<br />
COMSOL Wed, 13 Feb 2013 13:36:00 +000034715.1360762560.95783Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95714
<div class="quote"><br />
2. Set export resolution to 1200 DPI<br />
3. Set image dimensions to highest possible (for me it seems 4096 pixels is the upper limit?).<br />
</div><br />
<br />
that's ridiculous. Such settings would be good for a billboard, not for a little plot in paper/thesis. Typically I use default settings which produce good quality even when printed on full letter-size page.Tue, 12 Feb 2013 16:46:15 +000034715.1360687575.95714Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95652
<div class="quote"><br />
I sent this suggestion to the COMSOL help a long time ago.<br />
</div><br />
<br />
I guess they don't see it as a priority :(<br />
<br />
I'm trying to work out how to do it with gnuplot at the moment. If that fails then maybe python/matplotlib. <br />
If I get anywhere useful I'll post back code. <br />
<br />
Ben.Mon, 11 Feb 2013 21:59:19 +000034715.1360619959.95652Re: Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95649
Hi, <br />
<br />
<br />
Good luck with that, I have the same darn problem. In versions 3.5 and lower COMSOL allowed to export 2D graphics as eps format, then under 4.x they got rid of that, expect for 1D line plots, dumb move on their part. I guess you can plot the figure in Matlab and save as eps there, but that is a pain, not to mention you might want to export geometry as a vector graphics. Who would want png etc files anyway?, having the ability to open your vector graphics in, say, Illustrator is critical for generating publication quality figures, in my opinion at least. I sent this suggestion to the COMSOL help a long time ago.<br />
<br />
<br />
<br />
~CMon, 11 Feb 2013 21:10:16 +000034715.1360617016.95649Preparation of figures for papers/thesis?
http://www.comsol.com/community/forums/general/thread/34715/#p95605
If it has been written somewhere, can someone point me to where there is a guide to producing figures from 2D plots? <br />
<br />
I am using COMSOL 4.2a, and want to use some surface plots alongside legends of the colour tables used. It is bizarre that COMSOL does not provide vector graphics export. I have tried to generate a decent image using the png export (via the 'snapshot' button -- is there any other way?), but it is horrible. <br />
<br />
How I am doing it is:<br />
1. Use highest 'Quality' settings in each component of the plot group that has such a setting (e.g. Surface; Contour)<br />
2. Set export resolution to 1200 DPI<br />
3. Set image dimensions to highest possible (for me it seems 4096 pixels is the upper limit?).<br />
4. First generate a snapshot without any includes (i.e. no title, legend, axes. etc)<br />
5. Then generate a snapshot with the legend included.<br />
6. In GIMP cut and paste and scale as required.<br />
<br />
See attached file for example of trying to export a surface plot with two colour legends. The model image part of the figure is tiny, and the legends huge. <br />
<br />
If anyone has any tips or a separate set of routines in python/matplotlib or similar already in place I would love to see it!<br />
Mon, 11 Feb 2013 04:19:25 +000034715.1360556365.95605