Search Comments and Ratings

go

   
Date File Comment by Comment Rating
21 Nov 2014 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Adam

Always loved this function, but seems to be broken by 2014b :-(

10 Nov 2014 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent John Trimper

I've used/loved this function for years, but something's going wrong for me tonight. Also the first time I've used it with MatLab 2014b (64bit).

With x values of [1:4], errorbar_tick is moving my 4th point over to an x-value of .08, so the updated series of x values becomes [1 2 3 .08]. I'm totally boggled. Any ideas?

04 Nov 2014 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Cengiz Gunay

Perfect!

28 Oct 2014 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Josef Pörnbachr

17 Jul 2014 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Arnab Banerjee

Works great. For a graph with many errorbar plots this works:
>> h = get(gca,'Children');
>> % h is an array of plot handles
>> errorbar_tick(h(n),200); % etc.

21 Nov 2013 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Dan

Works great for my linear axis. Thanks for sharing.

03 Jul 2013 Adjust grid color Adjust x, y and/or z grid color Author: Arnaud Laurent Marius

12 May 2013 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent LDELBENE

What about if the x axis is in log scale?

08 Feb 2013 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent J

This function is really helpful!

Note that if you simply find and replace "x" with "y" throughout the code, it then works on horizontal error bars generated by, for example, errorbar_x.

Josh

15 Oct 2012 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Emily

31 Aug 2012 Polar/cartesian into degree north reference Set of function to convert polar/cartesian coordinates into degrees north and inversely. Author: Arnaud Laurent janez

cart2compass engine can be simplified - you don't need three 'find'-s.

degN: angle in degree north system (N = 0 degrees, E = 90 degrees)
deg: cartesian angle (E = 0 degrees, N = 90 degrees)

then it follows:

degN = 90 - deg;
idx = find(degN < 0);
degN(idx) = degN(idx) + 360;

output:
deg =

0 45 90 135 180 225 270 315 360

degN =

90 45 0 315 270 225 180 135 90

regards!

15 Aug 2012 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Amanda Whitmire

I really like this function, but I wish it also worked on horizontal error bars (FEX function herrorbar). Otherwise, this is very handy.

03 Jul 2012 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Min Liu

Solved my long-standing problem. Thank you~

25 Apr 2012 clear except... clear workspace except prescribed variables Author: Arnaud Laurent Piyush

thanks for the file!!

26 Mar 2012 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent James Herman

16 Feb 2012 Student distribution value This function retrieve the student distribution value for a given alpha and degree of freedom value. Author: Arnaud Laurent Andy Daubenspeck

Hi Arnaud, I just downloaded your student-t table lookup program and cannot figure out where to get teh function "nanmin"--it is not in any of my libraries and does not present on a Matlab Central search. Thanks for any help.

14 Jan 2012 clear except... clear workspace except prescribed variables Author: Arnaud Laurent Gijs

21 Nov 2011 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Felipe G. Nievinski

You might want to insert this at line # 39:

if ~isscalar(h)
arrayfun(@(h) errorbar_tick(h,w,xtype), h);
return;
end

15 Nov 2011 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Felipe G. Nievinski

It's great that this function operates on the handle output by the errorbar function, rather than duplicating what the errorbar function already does.

30 Aug 2011 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Frank Coumans

27 Jul 2011 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Tom Etzer

04 May 2011 clear except... clear workspace except prescribed variables Author: Arnaud Laurent Martin Lenz

many users don't have a version like r2008a or newer. this function is also necessary. thank's a lot.

26 Mar 2011 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Lin Li

27 Jul 2010 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Anton Daneyko

06 Jul 2010 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Tim DuBois

11 Jun 2010 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Tobias

Thanks for sharing your solution! It works fine as long as I one have one error bar series in a plot but I can't get it to work when I have more (as in> errorbar, hold on, errorbar). Do you have a fix for this?

14 Feb 2010 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Max

Works great! Thanks a lot!

13 Dec 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent alex m

good idea, but I'm new to matlab and am unsure of the variables h and xtype, could someone post an example?

08 Oct 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Dan Knudsen

Thanks very much! Easy to use and works great.

One quick tip, which is relatively obvious but might be nice to add to the help: If you'd like to get rid of the ticks entirely, it's as easy as calling: errorbar_tick(h,0,'units')

14 Aug 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Arnaud Laurent

Re: thanks for your input Sathish, you're right the script wasn't made for log scale. I'll update the file to take care of that.

31 Jul 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Sathish Krishnan

cool job!! but the feature does not retain when I change linear scale to log scale(i.e. the width is wider in log scale and is uncontrollable)

04 Jun 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Joey Doll

18 Mar 2009 Adjust error bar width Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units). Author: Arnaud Laurent Moritz

Nice work! This has driven me crazy in the past, but not any more .

10 Dec 2008 clear except... clear workspace except prescribed variables Author: Arnaud Laurent Federico Ang

not everyone uses r2008a if you people would only realize that...

17 Jun 2008 clear except... clear workspace except prescribed variables Author: Arnaud Laurent

You've saved my project...

14 Apr 2008 clear except... clear workspace except prescribed variables Author: Arnaud Laurent

If these two well-known reviewers tell the truth, you should remove this submission.

14 Apr 2008 clear except... clear workspace except prescribed variables Author: Arnaud Laurent

yet another one of these KEEP-ers...
note: r2008a (finally) introduces CLEARVARS with these options

clearvars -except v1 v2 ...
clearvars -except -regexp p1 p2 ...
clearvars v1 v2 ... -except -regexp p1 p2 ...
clearvars -regexp p1 p2 ... -except v1 v2 ...

us

14 Apr 2008 clear except... clear workspace except prescribed variables Author: Arnaud Laurent

This functionality has been posted to the FEX many times, e.g., keep, keep2, keep3. This functionality also exists as part of MATLAB itself starting with R2008a, i.e.,

clearvars -except v1 v2 ... clears all variables except for those specified following the -except flag. Use the wildcard character '*' in a variable name to exclude variables that match a pattern from being cleared. clearvars -except X* clears all the variables in the current workspace, except for those that start with X, for instance.

Contact us