Barplot With Standard Deviation Simple Data
2
0
Entering edit mode
10.5 years ago
viniciushs88 ▴ 50

I would like to known ways or different designs to plot a simple barplot with these data:

       sample  NOC-average   NOC-SD

         1M        1000       21
         2M        2000       23
         3M        3000       22
         4M        4000       43

y axis = NOC x axis = sample

Thank you very much.

• 3.9k views
ADD COMMENT
3
Entering edit mode

Not sure what this has to do with bioinformatics, what is NOC? http://en.wikipedia.org/wiki/NOC What have you tried? Excel and R have a lot of graphics options for box and barplots.

ADD REPLY
2
Entering edit mode

Paper and pencil too :-)

ADD REPLY
3
Entering edit mode
10.5 years ago
Vikas Bansal ★ 2.4k

Not a specific answer but I was just reading these news articles from nature methods yesterday -

Points of Significance: Visualizing samples with box plots and Points of View: Bar charts and box plots

Hope this helps.

ADD COMMENT
1
Entering edit mode
10.5 years ago
zx8754 11k

Using R:

#dummy data
dat <- read.table(text="
sample  NOC-average   NOC-SD
1M        1000       21
2M        2000       23
3M        3000       22
4M        4000       43",
                  header=TRUE)
#barplot
barplot(dat$NOC.average,
        names.arg=dat$sample)

To read on R barplots.

ADD COMMENT

Login before adding your answer.

Traffic: 3536 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6