<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="http://www.comsol.com/community/forums/general/rss/thread/34715.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: Preparation of figures for papers/thesis?</title>
  <link>http://www.comsol.com/community/forums/general/thread/34715/</link>
  <description>Most recent forum messages</description>
  <pubDate>Sun, 17 Feb 2013 13:05:19 +0000</pubDate>
  <image>
   <title>COMSOL Forums: Preparation of figures for papers/thesis?</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/34715/</link>
  </image>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95985</link>
   <description>Hi&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
probably the X houndred or tousand of us with COMSOL manage to live without eps, or use other softeware formats. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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 &amp;quot;publishing&amp;quot; but also for enginnering reports. Luckily for me, most enginnering contracts are more focusing on the &amp;quot;correct&amp;quot; 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&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
--&lt;br /&gt;&#13;
Good luck&lt;br /&gt;&#13;
Ivar</description>
   <pubDate>Sun, 17 Feb 2013 13:05:19 +0000</pubDate>
   <guid isPermaLink="false">34715.1361106319.95985</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95964</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
Hi Chris,&lt;br /&gt;&#13;
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...&lt;br /&gt;&#13;
Jeff&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
~Chris</description>
   <pubDate>Sat, 16 Feb 2013 00:49:32 +0000</pubDate>
   <guid isPermaLink="false">34715.1360975772.95964</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95959</link>
   <description>Hi Chris,&lt;br /&gt;&#13;
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...&lt;br /&gt;&#13;
Jeff</description>
   <pubDate>Fri, 15 Feb 2013 21:44:37 +0000</pubDate>
   <guid isPermaLink="false">34715.1360964677.95959</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95956</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there really no prospect of vector graphics export? &lt;br /&gt;&#13;
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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 (&lt;a href=&quot;http://www.comsol.eu/products/livelink-matlab/&quot; title=&quot;www.comsol.eu/products/livelink-matlab/&quot;&gt;www.comsol.eu/products/livelink-matlab/&lt;/a&gt;). 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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards,&lt;br /&gt;&#13;
Anders Ekerot&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
So now, basically,   options that were once included in the COMSOL base software now require the purchase of additional add ons.  Smart move.&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 15 Feb 2013 21:19:56 +0000</pubDate>
   <guid isPermaLink="false">34715.1360963196.95956</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95907</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there really no prospect of vector graphics export? &lt;br /&gt;&#13;
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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 (&lt;a href=&quot;http://www.comsol.eu/products/livelink-matlab/&quot; title=&quot;www.comsol.eu/products/livelink-matlab/&quot;&gt;www.comsol.eu/products/livelink-matlab/&lt;/a&gt;). 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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards,&lt;br /&gt;&#13;
Anders Ekerot&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Fri, 15 Feb 2013 11:58:15 +0000</pubDate>
   <guid isPermaLink="false">34715.1360929495.95907</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95820</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
Thanks Anders, that helps. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
This suggestion leaves little flexibility, but thanks again.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I particularly want to control line thicknesses and colours, shape colour schemes and border thicknesses, perhaps highlight particular isotherms, etc. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Is there really no prospect of vector graphics export? &lt;br /&gt;&#13;
Or a means to export the data set into vtk (for example) to be able to visualise with a specialist software like Paraview?&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Ben.</description>
   <pubDate>Wed, 13 Feb 2013 23:35:09 +0000</pubDate>
   <guid isPermaLink="false">34715.1360798509.95820</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95783</link>
   <description>Hello Ben,&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Best regards,&lt;br /&gt;&#13;
Anders Ekerot&lt;br /&gt;&#13;
COMSOL </description>
   <pubDate>Wed, 13 Feb 2013 13:36:00 +0000</pubDate>
   <guid isPermaLink="false">34715.1360762560.95783</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95714</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
2. Set export resolution to 1200 DPI&lt;br /&gt;&#13;
3. Set image dimensions to highest possible (for me it seems 4096 pixels is the upper limit?).&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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.</description>
   <pubDate>Tue, 12 Feb 2013 16:46:15 +0000</pubDate>
   <guid isPermaLink="false">34715.1360687575.95714</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95652</link>
   <description>&lt;div class=&quot;quote&quot;&gt;&lt;br /&gt;&#13;
I sent this suggestion to the COMSOL help a long time ago.&lt;br /&gt;&#13;
&lt;/div&gt;&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I guess they don't see it as a priority :(&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I'm trying to work out how to do it with gnuplot at the moment. If that fails then maybe python/matplotlib. &lt;br /&gt;&#13;
If I get anywhere useful I'll post back code. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Ben.</description>
   <pubDate>Mon, 11 Feb 2013 21:59:19 +0000</pubDate>
   <guid isPermaLink="false">34715.1360619959.95652</guid>
  </item>
  <item>
   <title>Re: Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95649</link>
   <description>Hi, &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
~C</description>
   <pubDate>Mon, 11 Feb 2013 21:10:16 +0000</pubDate>
   <guid isPermaLink="false">34715.1360617016.95649</guid>
  </item>
  <item>
   <title>Preparation of figures for papers/thesis?</title>
   <link>http://www.comsol.com/community/forums/general/thread/34715/#p95605</link>
   <description>If it has been written somewhere, can someone point me to where there is a guide to producing figures from 2D plots? &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
How I am doing it is:&lt;br /&gt;&#13;
1. Use highest 'Quality' settings in each component of the plot group that has such a setting (e.g. Surface; Contour)&lt;br /&gt;&#13;
2. Set export resolution to 1200 DPI&lt;br /&gt;&#13;
3. Set image dimensions to highest possible (for me it seems 4096 pixels is the upper limit?).&lt;br /&gt;&#13;
4. First generate a snapshot without any includes (i.e. no title, legend, axes. etc)&lt;br /&gt;&#13;
5. Then generate a snapshot with the legend included.&lt;br /&gt;&#13;
6. In GIMP cut and paste and scale as required.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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. &lt;br /&gt;&#13;
&lt;br /&gt;&#13;
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!&lt;br /&gt;&#13;
</description>
   <pubDate>Mon, 11 Feb 2013 04:19:25 +0000</pubDate>
   <guid isPermaLink="false">34715.1360556365.95605</guid>
  </item>
 </channel>
</rss>
