(
Jump to the original submission)
Thu 09 Mar 2017 07:38:50 PM UTC, comment #6:
I changed the summary to reflect the remaining issue.
The file to modify is _errplot_.m in scripts/plot/draw/private. There is a switch statement on the number of input arguments in varargin that will need to be modified. Basically, one has to figure out where the numberic arguments end and the string arguments begin. The numeric arguments can be passed to the original switch statement, and the remaining string arguments will need a new processing block.
|
Thu 09 Mar 2017 04:05:28 AM UTC, comment #5:
Sorry the url I submit in the previous post is redirection to web page for Japanese.
Original url is Rik already posted in comment #1
http://www.mathworks.com/help/matlab/ref/errorbar.html
Scroll down the page,
Yo can now find the section
Add Colored Markers to Each Data Point
The above example,
errorbar (..., "property_name", property_value)
is used.
|
Thu 09 Mar 2017 03:24:39 AM UTC, comment #4:
In the current MATLAB document, example using property/value pairs is described.
https://jp.mathworks.com/help/matlab/ref/errorbar.html?lang=en#bvc929w-1
|
Fri 23 Oct 2015 04:37:34 AM UTC, comment #3:
I pushed a patch on the development branch for the case when errorbar is called with just a single point (http://hg.savannah.gnu.org/hgweb/octave/rev/10704158315e). It's not perfect because Octave doesn't set the xlimits for the plot to a sensible value. Still, that can be quickly corrected with a call to xlim().
|
Sat 10 Oct 2015 02:20:26 PM UTC, comment #2:
No, in Matlab is not documented, but the syntax
works
Anyway, I think the (PROPERTY,VALUE) options could be good in Octave errorbar
|
Fri 09 Oct 2015 11:04:09 PM UTC, comment #1:
Does Matlab really allow this syntax?
There is no indication of it in the documentation (http://www.mathworks.com/help/matlab/ref/errorbar.html). In general Octave doesn't try too hard to replicate undocumented features because there is no stability and they can change or disappear entirely every 6 months when Matlab releases a new version.
|
Fri 09 Oct 2015 02:04:03 PM UTC, original submission:
Hello:
If I use the errorbar() function with only one point, for example
the vertical error bar does not contains the horizontal lines at the extremes that appears when the function is used with various poins
It would be nice also for Matlab compatibility that options (PROPERTY,VALUE) could be used in errorbar() as in plot(). The code
is valid in Matlab but produces an error in Octave
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.