|
|
| File Information |
| Description |
ERRORBARLOGX Homogenize the error bars for X-axis in log scale.
ERRORBARLOGX turns the X-axis of the current error bar plot to log scale, and homogonizes the length of the horizontal segements which terminate the vertical error bars.
By default, Matlab's ERRORBAR draws vertical error bars which are terminated by small horizontal segments of uniform length for the X-axis in linear scale. But when turning the X-axis to log scale, these segments become uneven. Using ERRORBARLOGX makes them uniform again.
ERRORBARLOGX(N) specifies the relative length of the horizontal segments, normalized with the total range of the data. By default, N=0.01 is used.
Limitations: ERRORBARLOGX acts only on the last drawn curve. If this curve is not an error bar plot, it won't work.
Example:
x=logspace(1,3,20);
y=5*(1 + 0.5*(rand(1,20)-0.5)).*x.^(-2);
errorbar(x,y,y/2,'o-');
errorbarlogx(0.03); |
| Acknowledgements |
This file inspired
Errorbarlogy.
|
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (22) |
| 15 Oct 2012 |
Emily
|
|
|
| 19 Sep 2011 |
David Collins
|
|
|
| 02 Mar 2011 |
Miguel Ullan
|
|
|
| 23 Jul 2010 |
Audrey
|
|
|
| 02 Jul 2010 |
Danmei Bian
|
|
|
| 29 Sep 2008 |
Leonardo Sepulveda
|
|
|
| 19 May 2008 |
Vincent G.
|
|
|
| 16 Apr 2008 |
Martin Hansen
|
|
|
| 02 Jan 2008 |
Mark Runacres
|
|
|
| 02 Nov 2007 |
Ipek Oruc
|
|
|
| 07 Sep 2007 |
Philip Du Toit
|
|
|
| 27 Jul 2007 |
Alexei Tcherniak
|
|
|
| 19 Jul 2007 |
Uli Stark
|
|
|
| 11 Mar 2007 |
Chethan Pandarinath
|
|
|
| 29 Jan 2007 |
matthieu simon
|
|
|
| 10 Oct 2006 |
Aiko Voigt
|
|
|
| 21 Sep 2006 |
Bert Sels
|
|
|
| 14 Mar 2006 |
lijun gou
|
|
|
| 14 Mar 2006 |
Uwe Kätzel
|
|
|
| 06 Mar 2006 |
Vincent Pelletier
|
|
|
| 27 Feb 2006 |
Andi Petculescu
|
|
|
| 09 Feb 2006 |
Nick D
|
|
|
|
Contact us