[RkWard-devel] Wikipedia greek
I. Soumpasis
nono.231 at gmail.com
Wed Jan 31 15:33:30 UTC 2007
2007/1/31, Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de
>:
>
> On Tuesday 30 January 2007 16:09, I. Soumpasis wrote:
> > > rainbox (length (rk.temp.x))
> >
> > I believe you mean rainbow.
>
> Indeed.
>
> > I made some research on this. I used VADeaths
> > data. The results are shown on pdf. The length() does not seem to solve
> the
> > problem but create another as you will see at the attached pdf. The
> problem
> > seems to relates to the beside option because with the stacked plots
> there
> > is no problem. Any other testing I have done, with any kind of variables
> > seems to be right.
>
> I think the difference between juxtaposed and stacked is simply that
> barplot
> will restart coloring at the first color for stacked plots, but not for
> juxtaposed ones.
>
> > Can I have some other data were the problem seems to appear? Did anybody
> > find any similar problem?
>
> This one is an example of a problematic matrix:
> x <- matrix (1:20, nrow=4, ncol=5)
> Here the first value of x is 1, so only one color will ever be used (in
> either
> type of barplot).
>
> > Is there any other suggestions of how to fix this?
>
> I guess the proper solution would be to use either dim (x)[1] or is that
> is
> null (for vectors, and factors), use length (x). E.g.:
>
> rainbow (if (is.null (dim(rk.temp.x)) length (rk.temp.x) else dim (
> rk.temp.x)
> [1])
>
> Not much time to experiment with it, however. You may have to try some
> variations in order to get everything right. Also, maybe take a look at
> barplot.default to figure out, how they determine the number of gray
> shades
> to use.
>
> > P.S. Something irrelevant but it came to mind printing the output. Is
> there
> > a way to skip printing the file:///home/user/.rkward/rk_out.html? Just a
> > suggestion.
>
> Could you rephrase? I did not understand, what you mean.
I will take a look on the others. For this part I mean that if you print
output you get on the top the address of the document which in this case is
file:///home/user/.rkward/rk_out.html. If somebody wants to do a report for
a third party he would not like to have info like this on the document. The
pdf file I sent or this example I had printed using mozilla browser and I
filled this part with black colors. I hope I was more clear.
Regards
> Thomas
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> RKWard-devel mailing list
> RKWard-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rkward-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20070131/529597c2/attachment.html>
More information about the Rkward-devel
mailing list