Rank: 1739 based on 65 downloads (last 30 days) and 1 file submitted
photo

Anders Simonsen

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Anders
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Aug 2014 Screenshot Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen distribute figure, figures, distribute, place, align, move 65 14
  • 5.0
5.0 | 5 ratings
Comments and Ratings by Anders View all
Updated File Comments Rating
07 Sep 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen

@arnold: Can you send me an example code, where you are having the problem? Then I can take a look at it. :) (Btw. I've sent you a private message as well)

20 Aug 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen

@arnold: I've just updated it again and now it should work. I didn't test it yesterday on 2014a as I didn't have acces to it, but now I have done that and fixed the error.

It is caused by the new way that the figure system is made in 2014b, which has been changed a lot! The only thing you should do is to download it again or just delete the line that is causing the error. :)

19 Aug 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen

@arnold: I've just updated the function to support the other function. The problem was that "fig()"; changed 'Units' to 'centimeters', whereas my function was using 'pixels'. Furthermore, I've added a new feature called distFig(...,'Tight',true/false), which can remove the whitespace around the figure like "fig();" - if that is what you're looking for. :)

And thanks for the feedback. :)

29 May 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen

@Ivan: Sorry for the late response. Yes - the new function does support different screen resolutions. :)

20 Jun 2012 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen

Thanks. So I assume you would have preferred something like distFig('Position','Left','Screen','Right');?

Comments and Ratings on Anders' Files View all
Updated File Comment by Comments Rating
07 Sep 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen Simonsen, Anders

@arnold: Can you send me an example code, where you are having the problem? Then I can take a look at it. :) (Btw. I've sent you a private message as well)

04 Sep 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen arnold

hi anders.
I've integrated the 'tight' argument in many of my functions but just saw that it is cutting off any xlabel one adds to a boxplot... no idea why xlabels of boxplots are treated entirely different than those of other plots.

20 Aug 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen Simonsen, Anders

@arnold: I've just updated it again and now it should work. I didn't test it yesterday on 2014a as I didn't have acces to it, but now I have done that and fixed the error.

It is caused by the new way that the figure system is made in 2014b, which has been changed a lot! The only thing you should do is to download it again or just delete the line that is causing the error. :)

20 Aug 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen arnold

@ Anders: thanks for the update. Unfortunately the function does not work anymore, no matter what type of figures are open. i.e. opening four figures, no content, then executing 'distFig' with no arguments. Gives the following error on 2014a:

Improper index matrix reference.

Error in distFig>@(n)(Figs(n).Number) (line 199)
Figs = sort(arrayfun(@(n) (Figs(n).Number),1:numel(Figs)));

Error in distFig (line 199)
Figs = sort(arrayfun(@(n) (Figs(n).Number),1:numel(Figs)));

19 Aug 2014 Distribute figures This function can distribute all open figures on different parts of the screen(s). Author: Anders Simonsen Simonsen, Anders

@arnold: I've just updated the function to support the other function. The problem was that "fig()"; changed 'Units' to 'centimeters', whereas my function was using 'pixels'. Furthermore, I've added a new feature called distFig(...,'Tight',true/false), which can remove the whitespace around the figure like "fig();" - if that is what you're looking for. :)

And thanks for the feedback. :)

Contact us