Rank: 1874 based on 86 downloads (last 30 days) and 1 file submitted
Personal Profile:
Professional Interests:
Signal and image processing.

 

Watch this Author's files

 

Files Posted by Reza
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 May 2012 Screenshot 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 figure, fonts, size, publish, save, figure size 86 17
  • 4.90909
4.9 | 13 ratings
Comments and Ratings by Reza View all
Updated File Comments Rating
12 Jun 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

Please drop me an email with a minimal example that reproduces your issue.

tnx

14 May 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,

This issue should be directly addressed in export_fig, as let's say a 'soft-crop'.

However, in order to keep some white space around the graphs, a quick fix could be fig('border','on',...) along with export_fig -nocrop.

cheers

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

A new version is available with bugs fixes. This version has been revised for future updates. Drop me an email for any question.

15 Mar 2011 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

Great function!

When working with images, that would be great to export the lines, texts, legend, etc. in a vector format and the images in a pixel format (ideally both in one pdf file). You might know that there has been some work done in the original exportfig http://www.mathworks.com/company/newsletters/digest/december00/export.html

I think it will be a great feature!

15 Mar 2011 ROCout=roc(varargin) compute a ROC curve Author: Giuseppe Cardillo

Thanks for the update.
P.S. I work with images of 2000x2000 pixels, so... ;)

Comments and Ratings on Reza's Files View all
Updated File Comment by Comments Rating
19 Aug 2014 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 arnold

there seems to be a problem with distFig, which I've used all the time. http://www.mathworks.com/matlabcentral/fileexchange/37176-distribute-figures

The figures created with 'fig' just vanish from the screen instead of being distributed. Hm...

25 Mar 2014 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 Phillip

Does not work for imshow?
It still produces boarders for me...
:(

20 Nov 2013 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 giovdain

10 May 2013 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 arnold

Hi Reza,

your function works as advertised yet I don't understand why setting a width and height in centimeters/inch is of any value if no resolution is given at the same time (dpi or 'dots per centimeter'), I really don't get it. As it is one basically only sets an aspect ratio or not?
If anything I want to be able to size and export my figures using exact dimensions (cm/inch) At a given resolution!

I never understood why matlab doesn't offer an export resolution for their figures. I am now using your 'fig' function to create the proper aspect ration and use 'export_fig' (-r300) from the fileexchange here to export at a given resolution.
Ideally this would be fused togeter with export_fig

Obviously one wants to export most figures as a vector graphic where resolution plays no role, but that can't be done with all figures :)

26 Mar 2013 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 Nicholas

Hi, very good application. One question that I have is the following. Is it possible to create a figure of lets say 640x480 pixels, with a small border (i.e "border", "on") and then save it as a PNG with resolution 300 dpi ??

Contact us