Octave Error Bar Linewidth
Contents |
the errorbars separately. The properties of the error
Matlab Errorbar
bar series are color The RGB color or color name of the line objects of the error bars. See Colors. linewidth linestyle The line width and style of the line objects of the error bars. See Line Styles. marker markeredgecolor markerfacecolor markersize The line and fill color of the markers on the error bars. See Colors. xdata ydata ldata udata xldata xudata The original x, y, l, u, xl, xu data of the error bars. xdatasource ydatasource ldatasource udatasource xldatasource xudatasource Data source variables.
this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Change width of error bars Hi, I am plotting a curve with error bars in the y direction, and the the bars are too wide. Is there any way to change their width ? So, it is not the 'linewidth' that I want to change but the length of the top of the 'T' of the errorbars. I have many datapoints on the curve, the points are quite close to each other and I should put an error bar on all of them. So because the error bars are too wide they all overlap, giving an ugly hairy curve. I don't mind personally, but I have to prepare a figure for a publication and it should look nice. I save the figure https://www.gnu.org/software/octave/doc/v4.0.3/Error-Bar-Series.html using print, in the eps format. Whatever the size I choose for the final figure, the error bars always have the same width and they always overlap... by the way I'm using octave 3.4.2 thanks for your help Ismael Diego Nunez-Riboni Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Change width of error bars > I am plotting a curve with error bars in the y direction, and the the bars > are too wide. http://octave.1599824.n4.nabble.com/Change-width-of-error-bars-td4412337.html Which function do you use to plot the errorbars? To my experience, the way plots are printed to file under octave depends a lot on your graphics backed... Ben suggested to me once to use: graphics_toolkit fltk which worked fine for me for pcolors... Try it, repeat your plot and print it to file... If it does not work perhaps you can simply edit the function you use to plot the errorbars to make the "hats" shorter? Cheers, Ismael. Is there any way to change their width ? So, it is not the > 'linewidth' that I want to change but the length of the top of the 'T' of > the errorbars. > > I have many datapoints on the curve, the points are quite close to each > other and I should put an error bar on all of them. So because the error > bars are too wide they all overlap, giving an ugly hairy curve. I don't mind > personally, but I have to prepare a figure for a publication and it should > look nice. I save the figure using print, in the eps format. Whatever the > size I choose for the final figure, the error bars always have the same > width and they always overlap... > > > by the way I'm using octave 3.4.2 > thanks for your help > > -- > View this message in context: http://octave.1599824.n4.nabble.com/Change-width-of-error-bars-tp4412337p4412337.html> Sent from the Octave - General mailing list archive at Nabble.com. > _______________________________________________ > Help-octave mailing list > [hidden emai
» Octave core » by package » alphabetical C++ API Function File: errorbar (y, ey) Function File: errorbar (y, …, fmt) Function File: errorbar (x, y, ey) Function File: errorbar (x, y, err, http://octave.sourceforge.net/octave/function/errorbar.html fmt) Function File: errorbar (x, y, lerr, uerr, fmt) Function File: errorbar (x, y, ex, ey, fmt) Function File: errorbar (x, y, lx, ux, ly, uy, fmt) Function File: errorbar (x1, https://au.mathworks.com/help/matlab/ref/errorbar.html y1, …, fmt, xn, yn, …) Function File: errorbar (hax, …) Function File: h = errorbar (…) Create a 2-D plot with errorbars. Many different combinations of arguments are possible. The simplest error bar form is errorbar (y, ey) where the first argument is taken as the set of y coordinates, the second argument ey are the errors around the y values, and the x coordinates are taken to be the indices of the elements (1:numel (y)). The general form of the function is errorbar (x, y, err1, …, fmt, …) After the x and y arguments octave error bar there can be 1, 2, or 4 parameters specifying the error values depending on the nature of the error values and the plot format fmt. err (scalar) When the error is a scalar all points share the same error value. The errorbars are symmetric and are drawn from data-err to data+err. The fmt argument determines whether err is in the x-direction, y-direction (default), or both. err (vector or matrix) Each data point has a particular error value. The errorbars are symmetric and are drawn from data(n)-err(n) to data(n)+err(n). lerr, uerr (scalar) The errors have a single low-side value and a single upper-side value. The errorbars are not symmetric and are drawn from data-lerr to data+uerr. lerr, uerr (vector or matrix) Each data point has a low-side error and an upper-side error. The errorbars are not symmetric and are drawn from data(n)-lerr(n) to data(n)+uerr(n). Any number of data sets (x1,y1, x2,y2, …) may appear as long as they are separated by a format string fmt. If y is a matrix, x and the error parameters must also be matrices having the same dimensions. The columns of y are
Search All Support Resources Support Documentation MathWorks Search MathWorks.com MathWorks Documentation Support Documentation Toggle navigation Trial Software Product Updates Documentation Home MATLAB Examples Functions Release Notes PDF Documentation Graphics 2-D and 3-D Plots Line Plots MATLAB Functions errorbar On this page Syntax Description Examples Plot Vertical Error Bars of Equal Length Plot Vertical Error Bars that Vary in Length Plot Horizontal Error Bars Plot Vertical and Horizontal Error Bars Plot Error Bars with No Line Control Error Bars Lengths in All Directions Add Colored Markers to Each Data Point Control Error Bar Cap Size Modify Error Bars After Creation Input Arguments y x err neg pos yneg ypos xneg xpos ornt linespec ax Name-Value Pair Arguments 'CapSize' 'LineWidth' See Also This is machine translation Translated by Mouse over text to see original. Click the button below to return to the English verison of the page. Back to English × Translate This Page Select Language Bulgarian Catalan Chinese Simplified Chinese Traditional Czech Danish Dutch English Estonian Finnish French German Greek Haitian Creole Hindi Hmong Daw Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Malay Maltese Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese Welsh MathWorks Machine Translation The automated translation of this page is provided by a general purpose third party translator tool. MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation. Translate errorbarLine plot with error barscollapse all in page Syntaxerrorbar(y,err)errorbar(x,y,err) exampleerrorbar(x,y,neg,pos)errorbar(___,ornt) exampleerrorbar(x,y,yneg,ypos,xneg,xpos) exampleerrorbar(___,linespec) exampleerrorbar(___,Name,Value) exampleerrorbar(ax,___)e = errorbar(___) exampleDescript