Rank: 559 based on 260 downloads (last 30 days) and 3 files submitted
photo

E Akbas

E-mail
Company/University
University of California, Santa Barbara

Personal Profile:

 

Watch this Author's files

 

Files Posted by E Akbas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jun 2014 Screenshot Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas figure, saveas, print, white box, margin 165 12
  • 4.0
4.0 | 6 ratings
10 Aug 2007 Simplified Fuzzy ARTMAP Neural Network Implementation of Simplified Fuzzy ARTMAP Neural Network. Author: E Akbas fuzzy logic, neural networks, fuzzy artmap, adaptive resonance th..., fuzzy, classification 33 1
  • 4.8
4.8 | 5 ratings
28 Mar 2007 Fuzzy k-NN Fuzzy k-Nearest Neighbor Classification Algorithm Author: E Akbas statistics, probability, fuzzy, knn, fuzzy knn, classification 62 9
  • 4.25
4.2 | 8 ratings
Comments and Ratings by E Akbas View all
Updated File Comments Rating
09 Jul 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas

Andy, it's probably because you are re-using the same figure window for multiple saves, are you? I would suggest to create a new figure for each of your plots. Your code will run slower but the problem will probably be fixed. Thanks.

27 Jun 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas

Nishant, you are right, I updated the file. Thanks!

27 May 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas

Thanks for the heads up Susanna. It's fixed now. It seems that legend position is automatically changed when the main axes position is changed. So, I fixed the script accordingly.

08 May 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas

It works correctly for this example:

imagesc(rand(50,50)); colorbar

08 May 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas

Can you provide a simple example to reproduce the problem?

Comments and Ratings on E Akbas' Files View all
Updated File Comment by Comments Rating
31 Jul 2014 Fuzzy k-NN Fuzzy k-Nearest Neighbor Classification Algorithm Author: E Akbas wulan dari

I just want to know if this video https://www.youtube.com/watch?v=fH505shOgTo is using your code?

09 Jul 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas E Akbas

Andy, it's probably because you are re-using the same figure window for multiple saves, are you? I would suggest to create a new figure for each of your plots. Your code will run slower but the problem will probably be fixed. Thanks.

09 Jul 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas Andy Xiong

This is very helpful.

!But when I run the script as batch job. The generated graph is too tight, some caption is invisible.

27 Jun 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas E Akbas

Nishant, you are right, I updated the file. Thanks!

27 Jun 2014 Get rid of the white margin in saveas output MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. Author: E Akbas Nishant

I think You should chnge lines 13-18 to this

if nargin==1
hfig = gcf;
outfilename = h;
else
hfig = h;
end

or else passing a handle will throw an error

Contact us