Rank: 2217 based on 34 downloads (last 30 days) and 2 files submitted
photo

Nick Gravish

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nick View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Sep 2012 Screenshot Load Adobe Swatch Exchange as colormap Loads an Adobe Swatch Exchange as a colormap. Author: Nick Gravish plot, figure, colormap, color, adobe 3 0
10 Aug 2011 Shortest distance between two line segments Function computes the shortest distance between two line segments. Author: Nick Gravish 2d, geometry, intersection, shortest, segment 31 2
  • 4.5
4.5 | 2 ratings
Comments and Ratings by Nick
Updated File Comments Rating
15 Apr 2011 printeps This works around MATLABs tendency to call all fonts 'Helvetica' in .eps files. Author: Jose Aumentado

I work with eps figures in adobe illustrator and it has been a continual pain reconfiguring the fonts from matlab exported eps files. Thanks for the function.

One comment for illustrator users. Adobe illustrator (at least on my system) uses the times new roman font TimesNewRomanPSMT, so embedding the actual font name "Times New Roman" returned from get(gca,'FontName') still gives an error in illustrator. My workaround was to hard code actualfont = 'TimesNewRomanPSMT' since I always work with times. Just a heads up for anyone in a similar position.

Comments and Ratings on Nick's Files View all
Updated File Comment by Comments Rating
04 Jul 2012 Shortest distance between two line segments Function computes the shortest distance between two line segments. Author: Nick Gravish James

Sometimes doesn't compute distances correctly if a segment is zero length, but works for finite length segments.

eg.

P1 = [0 0 0]; P2 = [0 1 1];
P3 = [1 1 1]; P4 = [1 1 1];
dist = DistBetween2Segment(P1, P2, P3, P4)

dist =

1

but

P1 = [0 0 0]; P2 = [0 1 1];
P3 = [1 0 0]; P4 = [1 0 0];
dist = DistBetween2Segment(P1, P2, P3, P4)

dist =

1.7321

18 Jan 2012 Shortest distance between two line segments Function computes the shortest distance between two line segments. Author: Nick Gravish Eschle, Patrik

Worked without problems, seems well programmed. Thanks.

Top Tags Applied by Nick
2d, 2d and 3d fast marching, adobe, color, colormap
Files Tagged by Nick View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Jan 2013 Screenshot 2D/3D image segmentation toolbox 2D/3D image segmentation using level-set based active contour/surface with AOS scheme Author: Yan Zhang 2d and 3d fast marchi..., 2d3d image segmentati..., 2d image segmation, active contoursurface, aos, geodesica active cont... 389 50
  • 4.75
4.8 | 16 ratings
14 Sep 2012 Screenshot Load Adobe Swatch Exchange as colormap Loads an Adobe Swatch Exchange as a colormap. Author: Nick Gravish plot, figure, colormap, color, adobe 3 0
10 Aug 2011 Shortest distance between two line segments Function computes the shortest distance between two line segments. Author: Nick Gravish 2d, geometry, intersection, shortest, segment 31 2
  • 4.5
4.5 | 2 ratings

Contact us