Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Publishing 3D (surf/mesh/patch...) plots

Subject: Publishing 3D (surf/mesh/patch...) plots

From: Chris

Date: 12 Jul, 2013 05:19:07

Message: 1 of 2

Hi all,

I have been trying very hard to get publish-quality out of MATLAB 3D plots that include dense meshes and/or lighting effects. I include the download link to two MATLAB figures (.fig) which I haven't managed to include in a MS Word or Adobe Illustrator document in high quality (preferably vector or a combination of rasterized and vector graphics).

I have tried all those functions like exportfig.m, export_fig.m, myaa.m, etc. but I reckon that the result is sub-optimum. I have also tried exporting to tif., png., eps.; opening first in Adobe Illustrator and then exporting to an image/vector graphic for MS Word; opening first in Adobe Photoshop and rasterizing; copying MATLAB figure directly to MS Word and so on. I've tried all 3 MATLAB renderers (understanding their limitations and use), but again to no avail.

Can please someone shed some light on best publishing practices when it comes to complicated 3D graphs with lighting, interpolated color faces etc.?

https://docs.google.com/file/d/0B49lSI5dbzAIejkzWV9TU2xRYjg/edit?usp=sharing
https://docs.google.com/file/d/0B49lSI5dbzAIQ0M3T3lWa1pMVEk/edit?usp=sharing


Cheers,
Chris

Subject: Publishing 3D (surf/mesh/patch...) plots

From: Nasser M. Abbasi

Date: 12 Jul, 2013 05:40:01

Message: 2 of 2

On 7/12/2013 12:19 AM, Chris wrote:
> Hi all,
>
> I have been trying very hard to get publish-quality out of MATLAB 3D plots that include
>dense meshes and/or lighting effects. I include the download link to two MATLAB figures
>(.fig) which I haven't managed to include in a MS Word or Adobe Illustrator document
>in high quality (preferably vector or a combination of rasterized and vector graphics).
>
> I have tried all those functions like exportfig.m, export_fig.m, myaa.m, etc.
>but I reckon that the result is sub-optimum. I have also tried exporting to
>tif., png., eps.; opening first in Adobe Illustrator and then exporting to
>an image/vector graphic for MS Word; opening first in Adobe Photoshop and rasterizing;
>copying MATLAB figure directly to MS Word and so on. I've tried all 3 MATLAB
>renderers (understanding their limitations and use), but again to no avail.
>
> Can please someone shed some light on best publishing practices when
>it comes to complicated 3D graphs with lighting, interpolated color faces etc.?
>
> https://docs.google.com/file/d/0B49lSI5dbzAIejkzWV9TU2xRYjg/edit?usp=sharing
> https://docs.google.com/file/d/0B49lSI5dbzAIQ0M3T3lWa1pMVEk/edit?usp=sharing
>

just couple of random thoughts for you to try. I am no expert in this.

If you are using Matlab 2013a, try setting adding the -hgVersion 2
to Matlab startup, so that it starts in version 2 graphics, which looks
better to me than the default. (this might also work with Matlab 2012)
On windows, simply right-click the Matlab icon or your start button, and
add it. On my system, it is like this now:

"C:\Program Files (x86)\MATLAB\R2013a Student\bin\matlab.exe" -hgVersion 2

Also, if you switch to using Latex rather than word for final publication
(I will never touch MS word for publication of anything), I'd give matlab2tikz a
try

http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz

"matlab2tikz supports the conversion of most MATLAB figures,
including 2D and 3D plots"

good luck
--Nasser

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us