Rank: 5 based on 2988 downloads (last 30 days) and 13 files submitted
photo

Oliver Woodford

E-mail
Lat/Long
-75.0, 90.0

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Oliver View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Jun 2013 Screenshot export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford anti alias, figure, embed, pick of the week, export figure, transparent 2411 259
  • 4.95812
5.0 | 212 ratings
18 Jan 2013 Figure control widget Intuitive manipulation of a figure using key and mouse gestures Author: Oliver Woodford gui, figure, manipulate, rotate, 3d 15 3
  • 5.0
5.0 | 3 ratings
16 Jan 2013 maximize Platform independent function to maximize a figure window. Author: Oliver Woodford fullscreen, maximise, maximize figure, figure, maximize, window 48 11
  • 4.36364
4.4 | 11 ratings
14 Jan 2013 Example MATLAB class wrapper for a C++ class An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. Author: Oliver Woodford c, mex, wrapper, class, example, hello 69 15
  • 4.83333
4.8 | 6 ratings
14 Dec 2012 Screenshot SC - powerful image rendering Useful tool for rendering and outputting information rich images Author: Oliver Woodford colormap, color, colorbar, render, height map, mask 108 42
  • 4.88889
4.9 | 27 ratings
Comments and Ratings by Oliver View all
Updated File Comments Rating
14 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Nicky: That's difficult to fix in export_fig. However, a workaround is to draw the grid lines or the axis bounding box manually to be able to get the desired ordering.

13 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

m_user: You can export a particular axes in a figure just by passing in a handle, but there is no support for rendering just part of an axes - I do not intend to implement this either. I suggest you use the newsgroup or Answers to find out the many other ways in which you might achieve what you want.

07 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Derek: The current version fixes this.

Anthi: In the example export_fig('C:/Users/Me/Documents/figures/myfig'), "myfig" IS the name.

28 May 2013 SC - powerful image rendering Useful tool for rendering and outputting information rich images Author: Oliver Woodford

Abbas: The comments box is not the place for questions. Note that sc() and imsc() can take multiple masks, e.g.:
>> Z = peaks(256);
>> imsc(Z, 'jet', [0 0 0.5], Z>0&Z<0.2, [0 0 0.7], Z<-0.1&Z>-0.3);

11 May 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

arnold: I didn't. Please don't take my suggestion the wrong way :). Try ConvertPlot4Publication.

Comments and Ratings on Oliver's Files View all
Updated File Comment by Comments Rating
27 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford Sam

Jannik fix works for the Issue I had (reported on 18 Jun 2013) using ubuntu 13.04 running Matlab R2012b.

Thanks Jannik. Really helped me out.

26 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford Jannik

I also get a ghostscript error:

Error: /undefined in --definefont--
Operand stack:
mwa_cmmi10 --dict:11/20(L)-- Font definefont --dict:30/32(L)-- unknownerror
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval-- false 1
%stopped_push 1900 1 3 %oparray_pop 1899 1 3 %oparray_pop --nostringval--
1883 1 3 %oparray_pop 1771 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- 1762 2 3 %oparray_pop --nostringval--
--nostringval-- 1850 2 4 %oparray_pop --nostringval--
Dictionary stack:
--dict:1173/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
--dict:1173/1684(ro)(G)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.07: Unrecoverable error, exit code 1

when using export_fig with Matlab 2013a and ArchLinux.
I solved this issue by clearing the LD_LIBRARY_PATH enviroment variable before executing gs by replacing

system(sprintf('"%s" %s', gs_path, cmd));

with

system(sprintf('export LD_LIBRARY_PATH=""; "%s" %s', gs_path, cmd));

in the ghostscript.m file. Maybe this will help in case of other ghostscript issues as well.

24 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford Sanka

Brilliant script. Some much time is saved by avoiding the post-processing I used to do to get publication quality figures/images.

18 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford Sam

Great script but I updated my linux machine and now I am getting the following error. Any Ideas??

Error: /undefined in /findfont
Operand stack:
120 Helvetica ISOLatin1Encoding Helvetica Helvetica
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1916 1 3 %oparray_pop 1915 1 3 %oparray_pop --nostringval-- 1899 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- 1868 5 5 %oparray_pop
Dictionary stack:
--dict:1180/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)-- --dict:97/160(L)-- --dict:9/85(L)--
Current allocation mode is local
Current file position is 10662
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Error using imread (line 368)
File "/tmp/tp0ad5cd83_0088_4c9e_9aa1_d189edc9c4ea.tif" does not exist.

Error in print2array (line 95)
A = imread(tmp_nam);

Error in export_fig (line 327)
[A tcol] = print2array(fig, magnify, renderer);

14 Jun 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford Woodford, Oliver

Nicky: That's difficult to fix in export_fig. However, a workaround is to draw the grid lines or the axis bounding box manually to be able to get the desired ordering.

Top Tags Applied by Oliver
figure, image, image processing, append, color
Files Tagged by Oliver View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Jun 2013 Screenshot export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford anti alias, figure, embed, pick of the week, export figure, transparent 2411 259
  • 4.95812
5.0 | 212 ratings
18 Jan 2013 Figure control widget Intuitive manipulation of a figure using key and mouse gestures Author: Oliver Woodford gui, figure, manipulate, rotate, 3d 15 3
  • 5.0
5.0 | 3 ratings
16 Jan 2013 maximize Platform independent function to maximize a figure window. Author: Oliver Woodford fullscreen, maximise, maximize figure, figure, maximize, window 48 11
  • 4.36364
4.4 | 11 ratings
14 Jan 2013 Example MATLAB class wrapper for a C++ class An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. Author: Oliver Woodford c, mex, wrapper, class, example, hello 69 15
  • 4.83333
4.8 | 6 ratings
14 Dec 2012 Screenshot SC - powerful image rendering Useful tool for rendering and outputting information rich images Author: Oliver Woodford colormap, color, colorbar, render, height map, mask 108 42
  • 4.88889
4.9 | 27 ratings

Contact us