Search Comments and Ratings

go

   
Date File Comment by Comment Rating
26 Jul 2014 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Shai Asher

Hi,
i found that if i have a several lines worth of xlabel, the scrolling doesn't account for that and the lower lines are cut off of the figure.
any got any ideas?

Comment only
18 Jun 2014 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Jesse

Jesse (view profile)

Please help. I get this error when I try to plot something like subplot(1,2,[3,4]):

Operands to the || and && operators must be convertible to logical scalar values.
Error in scrollsubplot (line 235)
if ( nrows*ncols < thisPlot || thisPlot < 1 )

Comment only
08 May 2014 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Valerio Biscione

Fantastic, worked without any problem!

5
15 Nov 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Bjorn Gustavsson

Jonathan, the updated version now takes either a cell-array or a function handle as input for FEX-contributions to track for updates. The function-handle might be seen as programming over-complexity, however a function is a safer encasulation of the cell-array variable compared to saving it in a .mat-file, and more flexible than a script. By taking a cell-array as well, arbitrary methods of generating the cell-array to track can now be used.

Comment only
15 Nov 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Bjorn Gustavsson

Oleg, in the new version the modification date of the files in downloaded FEX-contributions are set to the time at download. This should solve the problem with false positives.

Comment only
15 Nov 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Bjorn Gustavsson

Jonathan and Oleg, thanks for your suggestions.

Comment only
02 Aug 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Jonathan Lister

Also change your first line to
function Check4updates(varargin)

and add this to the end of the previous block of code I posted

if ~isa(fcns2check4updates,'cell')
fcns2check4updates = fcns2check4updates();
end

Comment only
02 Aug 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Jonathan Lister

You may have to check input.Functions to see if it is a cell and if not use eval on it.

Comment only
02 Aug 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Jonathan Lister

in R2012b using the following to parse your inputs would allow for either a function handle to be passed in or a cell array...

It also enables Property value pair input.

p = inputParser;
p.FunctionName = 'Check4updates';
addParamValue(p,'CheckFlag',0.);
addParamValue(p,'TableFlag',0.);
addParamValue(p,'Functions',functions2check4updates);
parse(p,varargin{:});
input = p.Results;
CheckdataBaseMatches = input.CheckFlag;
wideTable =input.TableFlag;
fcns2check4updates = input.Functions;

Comment only
01 Aug 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Oleg Komarov

Oleg Komarov (view profile)

There is a fundamental flaw in CheckVersion. The current .m file's date is checked against the (Updated ...). The problem is that, unless the uploader and TMW publish the file on the same day it was last changed, this tool will signal false positives. I would suggest asking TMW to provide a "last modified" field, next to each file entry to make this design flawless.

Comment only
31 Jul 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Bjorn Gustavsson

I managed to insert a new bug. Update on its way, for those that prefer to fix it now lines 287-288:
iCBstop = findstr(cMSG,'}');
iBS = findstr(cMSG,'\');
should be replaced with:
iCBstop = findstr(cMSG,'}');
if isempty(iCBstop)
iCBstop = 0;
end
iBS = findstr(cMSG,'\');
if isempty(iBS)
iBS(2) = length(cMSG)+1;
end

Comment only
31 Jul 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Bjorn Gustavsson

Jonathan, an updated version is on its way, the bug is fixed, I changed the behaviour to also list FeX contributions not found locally so that those can be downloaded. In addition to that I modified the function to also take an optinal function handle as input argument, that will be used to produce the list of functions to watch for. That way users get the flexibility to create that watch-list whichever way.

Comment only
29 Jul 2013 Check4updates Check4updates tracks updates of your favourite FeX packages, with GUI-selection for download. Author: Bjorn Gustavsson Jonathan Lister

I love the idea of this, but unfortunately there's a few problems. The variable iAvailable starts at 1 so it will always try to build the table for you even if no updates are available. Which causes an error... Set iAvailable to zero and increment it first thing within the if statement. It would also be good if we could just give it a list of FeX IDs and if the file is not found give us the option to download and install it. I'll give you a chance to work this further before I give you a rating.

Comment only
19 Jun 2013 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Jakob

Jakob (view profile)

Hi,

nice tool, could you make it working with asymmetrical subplots like for example scrollsubplot(2,2,[1 3])?

Would be cool

Comment only
31 Jan 2013 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson Ping

Ping (view profile)

thanks for this.. i adapted this for my code

Comment only
19 Jul 2012 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson Carl Witthoft

Any chance of some added modules for flat and spherical mirrors?

Comment only
17 Jun 2012 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson HaveF

HaveF (view profile)

5
23 Jun 2011 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson HARI KRISHNAN

5
16 May 2011 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson Don Wagner

I adapted this to test Fresnel Prisms (Rainbow Concentrators) and it was very usefull.

Comment only
16 May 2011 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson Don Wagner

5
19 Apr 2011 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Alexander Brodsky

can you add ability of mouse scrolling ?
Thanks for useful feature

5
22 Mar 2011 Optical_bench Optical_bench - a simple ray-tracing tool for optical systems. Author: Bjorn Gustavsson Dan K

Dan K (view profile)

4
07 Apr 2010 gen_susan Filtering with intensity dependent filter kernel. Author: Bjorn Gustavsson azzouzi fa

thank

Comment only
05 Jan 2010 zinput Ginput with zoom-in, select, all-zoom out Author: Bjorn Gustavsson Masoud

Masoud (view profile)

Zoom in and Zoom out are good but the program does not return the coordinates of the selected pixel properly.

2
01 May 2009 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Carlos Martinez-Ortiz

4
06 Nov 2008 gen_susan Filtering with intensity dependent filter kernel. Author: Bjorn Gustavsson Hamid Sarve

Dear Björn

Thank you for the implementation.

I believe there is a bug in the line 81, should be
I_internal = I([ones(1,ceil((regsize(1)-1)/2)) 1:end size(I,1)*ones(1,(regsize(1)-1)/2)],...
[ones(1,ceil((regsize(2)-1)/2)) 1:end size(I,2)*ones(1,(regsize(2)-1)/2)]);

Cheers,
Hamid Sarve

Comment only
26 Jun 2008 make_depend make depend makes a list of functions used in a .m-file Author: Bjorn Gustavsson Duan Cm

Useful!

4
27 Nov 2007 gen_susan Filtering with intensity dependent filter kernel. Author: Bjorn Gustavsson Zhou zhou

thank you

2
20 Nov 2007 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson David Escot

Perfect!!

5
22 Mar 2007 gen_susan Filtering with intensity dependent filter kernel. Author: Bjorn Gustavsson ocean lzq

good

3
18 Nov 2006 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson Telmo Amaral

This function did precisely what I needed in the easiest possible way: just had to replace all the calls to subplot with calls to scrollsubplot. Particularly liked the fact that page-up/down scroll the defined number of rows, whereas arrow-up/down scroll only one row at a time - very intuitive.

5
11 Oct 2005 Scrollsubplot scrollsubplot(n,m,p) p<0 and p>nm, Extends subplot to infinite canvas ... Author: Bjorn Gustavsson reno renovic

I may be helpfull if you would add a little example how to use this m.file

Comment only
24 Aug 2005 make_depend make depend makes a list of functions used in a .m-file Author: Bjorn Gustavsson first last

This function is not needed anymore.

Use depfun() or inmem()

1
27 Jul 2005 make_depend make depend makes a list of functions used in a .m-file Author: Bjorn Gustavsson Drew Wagner

Seems to be broken for me. I'm running R14 on OS X 10.4

??? Attempted to access tline(0); index must be a positive integer or logical.

Error in ==> make_depend at 66
tline(i) = char(49);

Comment only
08 Mar 2004 make_depend make depend makes a list of functions used in a .m-file Author: Bjorn Gustavsson kourosh mehrain

very poor with lines that are empty and with tabs

2
07 Jul 2003 make_depend make depend makes a list of functions used in a .m-file Author: Bjorn Gustavsson cl fung

Good to find a script like this.
It helps me to manage my .m files.

5

Contact us