Hello Everyone,
                          I am having problem in defining specific axis for
plotting a vactor.

                         vecAVG <- c(0.2, 0.4, 0.6, 0.2, 0.4)

names(vecAVG)<-c("brain","heart","kidney","lung","blood")


                         par(mar=c(12,4.1,4.1, 2.1))

plot(sort(vecAVG,decreasing=TRUE),type="p",pch=19,col="darkslateblue",axes=FALSE,ann=FALSE)
                         g_range<-range(vecAVG)

                        axis(1,at=0:length(vecAVG),lab=names(vecAVG),las=2)
                        axis(2, las=1, at=0:g_range[2])

After these commands I am getting the graph but it does not have any Y axis.
I know I am making a silly mistake somewhere. Can someone please guide me.

	[[alternative HTML version deleted]]

