Rank: 103278 based on 0 downloads (last 30 days) and 0 file submitted
photo

Tobias Lamour

E-mail
Company/University
Heriot-Watt University

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Tobias Lamour View all
Updated File Comments Rating
20 Dec 2012 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Oubeid,

if you read all the description above you will discover the following lines towards the end:
"Usage examples can be found at:
http://sites.google.com/site/oliverwoodford/software/export_fig”

If you follow Oliver’s link with the examples you will find towards the end of the page the example below, which exactly provides what you would like to do:

Variable file names:

for a = 1:5
plot(rand(5, 2));
export_fig(sprintf('plot%d.png', a));
end

Good luck!

15 Nov 2012 Round with significant digits Rounds towards the nearest number with N significant digits. Author: François Beauducel

a very useful extension to the usual round functions.

one small speed improvement can be achieved. Using find is very slow. one can use logical indexing just like this:
y(x==0) = 0;
it does the same job while much faster with lager arrays.
Thanks,
Tobi

17 Apr 2012 fig- the exact figure size and no white space Create publication-quality figures; easily define the figure's size, font of all labels, titles... Author: Reza

Hi Reza,

Thanks for the update. are you able to specify you changes you have made in more detail?
Thanks,
Tobi

26 Sep 2011 fig- the exact figure size and no white space Create publication-quality figures; easily define the figure's size, font of all labels, titles... Author: Reza

Hi Reza,
Do you have, or anyone else, the time to address two things or provide information towards a practical solution or workaround:

1: Is there a possibility to add a small portion of white-space only on the right-hand side of the figure(~1 to 5 pixel).
The reason I am asking for this is that if you use export_fig it does clips a bit of the axes or tick marks. (Caused by Ghost script!)
(I can provide code and images to reproduce the problem!)

2: I am looking for a way to address each time calling the function a specific figure X. Example: rather fig use fig(1) similar to figure(1) so it does plot always in the same figure rather than creating a new one each time.

Many thanks for your help indeed,
Tobi

22 Sep 2011 fig- the exact figure size and no white space Create publication-quality figures; easily define the figure's size, font of all labels, titles... Author: Reza

Reaz absolute brilliant - a great addition to export_fig indeed!

Contact us