Matlab Error Bar Log Plot
Contents |
Support Support Newsreader MathWorks Search MathWorks.com MathWorks Newsreader Support MATLAB Newsgroup MATLAB Central Community Home MATLAB Answers File Exchange Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home Post A New Message Advanced Search Help MATLAB Central errorbar log scale matlab Community Home MATLAB Answers File Exchange Cody Blogs Newsreader Link Exchange ThingSpeak Anniversary Home
Errorbarlogx
Post A New Message Advanced Search Help Trial software error bars in log-log scale Subject: error bars in log-log scale From: matlab errorbarlogx Marco Date: 12 Sep, 2002 08:55:41 Message: 1 of 6 Reply to this message Add author to My Watch List View original format Flag as spam Anybody knows how can I plot error bars in errorbarlogy a semi- or bi-logarythmic scale? The command errorbar does not help... thanx Marco Subject: error bars in log-log scale From: nospam@thank.you (De... Date: 12 Sep, 2002 13:20:21 Message: 2 of 6 Reply to this message Add author to My Watch List View original format Flag as spam On Thu, 12 Sep 2002 08:55:41 -0400, Marco
Logarithmic Error Bars
>scale? The command errorbar does not help... > > >thanx > > >Marco Marco, you can edit ERRORBAR.M and modify lines 91-92 as follows: xl = x - tee*x; %modif for semilogx or loglog plot xr = x + tee*x; %modif for semilogx or loglog plot and save the file under a new name (e.g. errorbar_log.m) HTH, Denis. Subject: error bars in log-log scale From: Marco Date: 12 Sep, 2002 13:24:20 Message: 3 of 6 Reply to this message Add author to My Watch List View original format Flag as spam Denis Gilbert wrote: > > > On Thu, 12 Sep 2002 08:55:41 -0400, Marco
toolboxes, and other File Exchange content using Add-On Explorer in MATLAB. » Watch video Highlights from ploterr ploterr.m View all files Join the 15-year community celebration. Play games and win prizes! » Learn more 5.0 5.0 | 17 ratings Rate loglog errorbar matlab this file 39 Downloads (last 30 days) File Size: 5.86 KB File ID: #22216 log scale error bars Version: 1.3 ploterr by Felix Zoergiebel Felix Zoergiebel (view profile) 4 files 53 downloads 4.5 23 Nov 2008 (Updated 14 Feb
Horizontal Error Bars Matlab
2009) plots data with x and/or y error bars and supports logarithmic scaling for both axes. | Watch this File File Information Description ploterr is a universal tool for plotting data with error bars. The https://www.mathworks.com/matlabcentral/newsreader/view_thread/39537 following features are supported: - linear/logarithmic scaling - x and/or y error bars - relative/absolute errors - width of bar handles adjustable Basically it unifies the features of errorbarxy, errorbarloglog, errorbar_x and errorbar in one single program. For a detailed description and examples see the documentation in the file. The technique for plotting the error bars is adapted from MATLAB's v6 errorbar, which is also used by Goetz Huesken's errorbar_x. With https://www.mathworks.com/matlabcentral/fileexchange/22216-ploterr this technique the x error bars as well as the y error bars are one big line object, in contrast to errorbarloglog where each single error bar consists of three separate lines. That prevents an overflow of the legend with lots of separate line objects and makes it a lot easier to change the line style of the error bars. Acknowledgements Errorbar X inspired this file. This file inspired Errbar, Errorbarxy, and Superbar. MATLAB release MATLAB 7.4 (R2007a) Tags for This File Please login to tag files. data explorationerror barerrorbarerrorbar horizontalerrorbar logarithmicerrorbar_xerrorbarloglogherrorbarhorizontal errorbarlogarithmic errobarplotplot data Cancel Please login to add a comment or rating. Comments and Ratings (30) 10 Sep 2016 Mohammad Heriyanto Mohammad Heriyanto (view profile) 0 files 0 downloads 0.0 11 Nov 2015 William Barnes William Barnes (view profile) 0 files 0 downloads 0.0 Very useful but.... Is it possible to use a log10 rather than log (i.e. to use log base 10 rather than log base e) for the axes. For example, I tried log10x instead of log, but no joy. Comment only 25 Mar 2015 Presper Eckert Presper Eckert (view profile) 0 files 0 downloads 0.0 Excellent functionality and very useful! 04 Apr 2014 Nitsan Nitsan (view profile) 0 files 0 downloads 0.0 Thank you f
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://stackoverflow.com/questions/4393868/plotting-errorbars-in-the-logarithmic-domain-with-negative-values-matlab site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss http://www.verycomputer.com/33_5b3fdbb997ed1de0_1.htm Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Plotting errorbars in error bar the logarithmic domain with negative values (Matlab) up vote 3 down vote favorite 1 I have a vector, call it x, which contains very small numbers that I calculated from a mean. I'd like to plot the logarithmic transform of x, say y=10*log10(x), along with errorbars equal to +- 2 standard deviations calculated when finding the mean. To do this, I'm using the following matlab error bar code: figure errorbar(lengths, 10*log10(x), ... 10*log10(x-2*std_x), 10*log10(x+2*std_x), 'o') My problem is that since x contains such small values, x-2*std_x is usually a negative number, and you can't take the log of negative numbers. So I suppose my question is how can I plot errorbars in the logarithmic domain when subtracting the standard deviation in the linear domain gives me negative numbers? I can't do the +- matlab plot logarithm share|improve this question edited May 4 '12 at 23:42 CharlesB 42.4k11117137 asked Dec 9 '10 at 0:49 Josiah 3891822 this also means that the error bar meaning isn't quite right - the error bars assume a gaussian distribution, and nonnegativity means that it's not gaussian. but I still understand why you would do this, and it's still reasonable :) –Peter Dec 9 '10 at 1:05 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted You can replace those values with a small value but log-able (say, 40 dB lower): minb = x-2*std_x; mask = (minb <= 0); minb(mask) = x/1e4; ... use 10*log10(minb) instead Or just threshold to some minimum: K = min(x) / 1e
or log-log graphs? Can the errorbar.m function be modified for use on semilog graphs? Thanx! Top Error bars with semilog or log-log plots? by Hans Olss » Wed, 18 Oct 1995 04:00:00 >I have a question for the Matlab gurus: >How does one put errorbars on semilog graphs or log-log graphs? >Can the errorbar.m function be modified for use on semilog graphs? The easiest way is to do the following: Quote:>> errorbar .... >> set(gca,'yscale','log'); % Now a semilogy >> set(gca,'xscale','log') % Now a loglog graph. // Hans Olsson, http://www.dna.lth.se/EHP/hanso/ Top 1. error bars in log-log scale Anybody knows how can I plot error bars in a semi- or bi-logarythmic scale? The command errorbar does not help... thanx Marco 2. Prepare Network Coonections 3. log-log surface plot 4. More South African Y2k Links 5. Adobe and log-log plots on the mac 6. EMEA DAP Enrols 3,000th Member 7. ticklabels in log-log plots 8. FrontPage XP 9. equal axes with a log-log plot 10. Error bars on log plot? 11. errorbar in log log plots 12. log-log histograms 13. double x axis and labels, log log style?? 2 post • Page:1 of 1 All times are UTC Board index Spam Report