The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Interactive Books with MATLAB
Replies: 18   Last Post: Feb 24, 2013 3:43 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Martin Trauth

Posts: 99
Registered: 12/7/04
Re: Interactive Books with MATLAB
Posted: Dec 11, 2012 7:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear all,

I found a solution to create PDFs with rotatable 3D graphs from MATLAB without LaTeX. I am using R2012b with Mac OS 10.8.2. You don't need any additional toolboxes.

Kind regards, Martin

1. Create 3D Graph and export it with the (hidden) function VRML to create a VRML/WRL file.

[X,Y] = meshgrid(-8:.5:8);
R = sqrt(X.^2 + Y.^2) + eps;
Z = sin(R)./R;

2. Use the free software MESHLAB to import the VRML/WLR file. Export the graph as 3DS File.

3. Use the free software BLENDER to import the 3DS file. Select the CUBE in the right panel, open the CUBE directory by selecting the PLUS sign, select CUBE, then REMOVE VERTICES in the left panel of the user interface. Export the result as COLLADA DAE file.

4. Use the free software GOOGLE SKETCHUP to import the DAE file. Unfortunately you now need the commercial plugin SimLab PDF Exporter ($99) to create the PDF file. Don't modify the settings of the plugin, it just works fine as it is. You can use a trial before you buy it.

5. Open the PDF file in Acrobat. Use the Model Rendering Mode to modify the appearance of the 3D graph, e.g. hide/unhide mesh, control transparency, light etc.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.