@Caike
Can you be more specific with your problem? Currently, the length of all caps are set to be 10% of the errors in the other axis, e.g. the cap along x-axis has a length of 10% of errors in y-axis.
You can either leave comments here or shoot me a line @ anqi2000@gmail.com

I don't have the problem you mentioned. I tried the example below and multiple plots can be drawn on the same plot:
x = 1:10;
xe = 0.5*ones(size(x));
y = sin(x);
ye = std(y)*ones(size(x));
H=errorbarxy(x,y,xe,ye,{'ko', 'b', 'r'});
hold on;
y=cos(x);
H=errorbarxy(x,y,xe,ye,{'ko', 'r', 'b'});
hold off;

If you still have problem, either leave comment here or email me @ anqi2000@gmail.com.

As for the second question, see my example above again. If you use 'ko-' in the first element of the formatting string, data points are connected. Instead, if you use 'ko', data points are plotted in circles and isolated.

@Caike
Can you be more specific with your problem? Currently, the length of all caps are set to be 10% of the errors in the other axis, e.g. the cap along x-axis has a length of 10% of errors in y-axis.
You can either leave comments here or shoot me a line @ anqi2000@gmail.com

That's a really nice function! I'm having some problems with the proportions of the 'T' marks at the end of the errorbars. Is there a way to change the size or control its proportions?

I don't have the problem you mentioned. I tried the example below and multiple plots can be drawn on the same plot:
x = 1:10;
xe = 0.5*ones(size(x));
y = sin(x);
ye = std(y)*ones(size(x));
H=errorbarxy(x,y,xe,ye,{'ko', 'b', 'r'});
hold on;
y=cos(x);
H=errorbarxy(x,y,xe,ye,{'ko', 'r', 'b'});
hold off;

If you still have problem, either leave comment here or email me @ anqi2000@gmail.com.

As for the second question, see my example above again. If you use 'ko-' in the first element of the formatting string, data points are connected. Instead, if you use 'ko', data points are plotted in circles and isolated.

For some reason I'm not able to hold and draw multiple of these plots on the same figure :( Also I can't seem to specify (none) in S....always get my data points connected.

@Caike
Can you be more specific with your problem? Currently, the length of all caps are set to be 10% of the errors in the other axis, e.g. the cap along x-axis has a length of 10% of errors in y-axis.
You can either leave comments here or shoot me a line @ anqi2000@gmail.com

Hello Qi An,
That's a really nice function! I'm having some problems with the proportions of the 'T' marks at the end of the errorbars. Is there a way to change the size or control its proportions?
Regards.

@ B.M.
I don't have the problem you mentioned. I tried the example below and multiple plots can be drawn on the same plot:
x = 1:10;
xe = 0.5*ones(size(x));
y = sin(x);
ye = std(y)*ones(size(x));
H=errorbarxy(x,y,xe,ye,{'ko', 'b', 'r'});
hold on;
y=cos(x);
H=errorbarxy(x,y,xe,ye,{'ko', 'r', 'b'});
hold off;
If you still have problem, either leave comment here or email me @ anqi2000@gmail.com.
As for the second question, see my example above again. If you use 'ko-' in the first element of the formatting string, data points are connected. Instead, if you use 'ko', data points are plotted in circles and isolated.

For some reason I'm not able to hold and draw multiple of these plots on the same figure :( Also I can't seem to specify (none) in S....always get my data points connected.

Comment only