Rank: 367 based on 179 downloads (last 30 days) and 10 files submitted
photo

Ioannis Filippidis

E-mail
Company/University
California Institute of Technology

Personal Profile:

http://www.caltech.edu/~ifilippi

Professional Interests:
Multi-Agent Control, Motion Planning, Formal Methods

 

Watch this Author's files

 

Files Posted by Ioannis View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jul 2012 Screenshot Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis 3d, u3d, graphics, export, save, plot 68 15
  • 4.33333
4.3 | 7 ratings
10 May 2012 Take & Restore hold Hold axes temporarily, optionally respecting the previous hold state. Author: Ioannis Filippidis hold, hold on, hold off, axes, axis, plot 3 0
10 May 2012 Vectorized hold Vectorized version of hold function. Author: Ioannis Filippidis hold, vectorization, plot, axes, figure, matrix 1 0
03 May 2012 Screenshot OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis data import, automotive, transportation, geography, mapping, openstreetmap 74 17
  • 5.0
5.0 | 4 ratings
19 Apr 2012 Screenshot Normalize N-D Vectors in Single Matrix or N Component Matrices Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. Author: Ioannis Filippidis normalize, matrices, vector, unit vector, norm, vectorization 6 0
Comments and Ratings by Ioannis View all
Updated File Comments Rating
21 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis

Hi Ben,

Thanks for the note, there is an OS X fix I've posted below (04 Dec 2012), but there is something else, please send me the fix. I planned to update the files here when time permitted.

24 May 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis

Hi Devin,

Including the colorbar is not an implemented feature. The axes are included by plotting them in fig2u3d.m with the function plot_axes.

A suggestion would be to plot the colorbar within the axes (not as it is created by default, i.e., as a separate graphics object). An example which can be adapted according to your needs can be found here:

http://marine.rutgers.edu/~nstrands/MATLAB/googleplot/colorbarlegend.m

It looks like it needs some updating, but besides that it has the main idea of a colorbar comprised of patches. Then you can also select its preferred position and orientation.

Thanks for the idea, I will keep it mind for incorporating it in the next release.

Best,
Ioannis

11 May 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis

Hi Richard,

It appears that the Java Virtual Machine run out of memory, you can increase that (depending on the limits of your system). Please see here:
http://www.mathworks.com/support/solutions/en/data/1-18I2C/
This can also be the case when plotting a lot of data.

I would suggest trying to instead reduce the piece of the map you attempt to import, based on what is the purpose for further processing.
Otherwise even if it does load after increasing the java heap size, it will still be cumbersome to process.

Another suggestion might be to break into pieces and load those separately, one at a time, extracting the structure of interest and then identifying common nodes between different patches. However this is much more involved, because it involves the global (unique) IDs of the nodes, representing them in the openstreetmap database (and file).

24 Mar 2013 Cassini Ovals Plot Cassini Ovals in Parametric Form Author: Tolga Birdal

Thank you for this code.

Please note that "close all" is not expected by a user from within a function. Plotting in a specific figure/axes object can be accomplished instead by explicitly opening one and passing the handle to "plot":
fig = figure;
ax = axes('Parent', fig);
plot(ax, ...)

Also "hold on" is interfering with the current settings by the user, if this function is called to add a curve to an existing figure. It would be better to first get the current hold state (if an axes object handle is passed as argument), then change it to "on" in order to add the curve and finally restore it to its original state:
http://www.mathworks.com/matlabcentral/fileexchange/36641-take-restore-hold

The function would benefit if it had arguments, so that the user can plot whichever Cassini curve they prefer.
If arguments are included, then the help text can be more explicit about how the function is used.
Referring to a link for the help text is not the usual practice.

Note also that the provided link is broken.

As a demonstration alternative, the function could plot several curves as it does now, if no arguments are provided, otherwise plot the curve prescribed by the arguments.

18 Feb 2013 exporttozip This is an update to exportToZip by Malcom Wood. It uses absolute paths OR relative paths. Author: Mark Morehead

Nice function, thanks!

It appears that:

if nargin < 2
abspath = 0;
end

is missing, so the 1-argument call returns an error.

Comments and Ratings on Ioannis' Files View all
Updated File Comment by Comments Rating
27 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis Francesco

Hi Loannis,

This is a great tool and I've gotten it to work on my computer for the example files you provided. Unfortunately, it doesn't seem to work when I apply it to a figure produced by the "vol3d.m" function (by Joe Conti), which produces a volume rendering of 3-D data using the matlab "surface" function. I get a lot of outputs in the command line that say "Empty cdata". I don't get an error with fig2u3d.m but when I convert the u3d result to 3d pdf with acrobat, I get an empty white box. If I use fig2pdf3d.m I get the following error "Undefined function or variable "use_vertex_color". Error in shaders_materials_modifiers (line 49)". Do you know what could be wrong?

22 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis Ben

Hi Ioannis,
I have emailed you my revision. Wish it is helpful.

21 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis Filippidis, Ioannis

Hi Ben,

Thanks for the note, there is an OS X fix I've posted below (04 Dec 2012), but there is something else, please send me the fix. I planned to update the files here when time permitted.

20 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis Ben

Very good though some modifications are needed in idtf2u3d.m for Mac OS X. If you like, I could send my modified and tested version to you.

02 Jun 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis Goel, Preeti

I get an error when I try to load and parse an osm file, I have tried with different file sizes:

Cell contents reference from a non-cell array object.

Error in parse_osm>parse_way (line 61)
ndtemp(1, j) = str2double(waytemp.nd{j}.Attributes.ref);

Error in parse_osm (line 20)
parsed_osm.way = parse_way(osm_xml.way);

Error in parse_openstreetmap (line 43)
parsed_osm = parse_osm(osm_xml);

Error in OSMExample (line 29)
[parsed_osm, osm_xml] = parse_openstreetmap(openstreetmap_filename);

Any suggestions?

Top Tags Applied by Ioannis
plot, mathematics, figure, matrix, vectorization
Files Tagged by Ioannis View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jul 2012 Screenshot Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis 3d, u3d, graphics, export, save, plot 68 15
  • 4.33333
4.3 | 7 ratings
10 May 2012 Take & Restore hold Hold axes temporarily, optionally respecting the previous hold state. Author: Ioannis Filippidis hold, hold on, hold off, axes, axis, plot 3 0
10 May 2012 Vectorized hold Vectorized version of hold function. Author: Ioannis Filippidis hold, vectorization, plot, axes, figure, matrix 1 0
03 May 2012 Screenshot OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis data import, automotive, transportation, geography, mapping, openstreetmap 74 17
  • 5.0
5.0 | 4 ratings
19 Apr 2012 Screenshot Normalize N-D Vectors in Single Matrix or N Component Matrices Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. Author: Ioannis Filippidis normalize, matrices, vector, unit vector, norm, vectorization 6 0

Contact us