views:

3564

answers:

2

I want to plot some confidence interval graphs in MATLAB but I don't have any idea at all how to do it. I have the data in a .xls file.

Can someone give me a hint, or does anyone know commands for plotting CIs?

+1  A: 

See e.g. these m-files on Matlab File Exchange:

rcs
thanks rcs!! As i am a begineer in matlab can you tell me how can i run this m file? coz i can see an error? should i have to specify some input parameters or file to have a plot?
Haqan
+2  A: 
Amro
Thanks Amro.......but i was wondering how can I have a graph like shown in the figure on the following link:http://psycnet.apa.org/journals/bne/115/4/images/bne_115_4_764_fig5a.gifI wanted to have the bars for variations in the graph i.e. if there is big variation in the graph the bar is longer and if the variation is lower then the graph should have smaller bars..did u get what i mean to say?looking forward....
Haqan
I believe what you're asking for is the `errorbar` function: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/errorbar.html
Amro
Thanks alooooot.......! i was exactly finding this plot....
Haqan

related questions