Message-ID: <4AF27A17.4090005@bitwrit.com.au>
Date: 2009-11-05T07:09:11Z
From: Jim Lemon
Subject: Graph to show that very few classes has maximum best performers
In-Reply-To: <5c63ee170911042014n1c2ed154hbc4724ef2f594aa4@mail.gmail.com>
On 11/05/2009 03:14 PM, Sunita Patil wrote:
> Hello Jim
>
> This seems to work but the problem is my dataset is very large so the
> image is not coming clear, its all mixed up. my dataset contains 150
> rows. in such case what has to be done?
>
Hi Sunita,
I don't think that staircase.plot will be suitable for 150 values unless
you define a very large device of almost a meter in the direction of
plotting. Try this and see how you like it:
x11(width=15,height=4)
plot(sundat$class_no,sundat$best_performers,
type="h",xaxt="n",xlab="Class number",
ylab="Number of best performers",
main="Best performers by class")
library(plotrix)
staxlab(at=class_no,labels=class_no,
nlines=3,line.spacing=0.5,cex=0.5)
Jim