[RkWard-devel] comments on plot_options and distribution plots

Prasenjit Kapat kapatp at gmail.com
Thu Feb 1 07:52:12 UTC 2007


Hi,

plot_options:
-------------------
* Specifying the Y-Limits (ylim) creates a column vector: c(a,,b) - there is 
an extra "," in between.
* Like allow_log or allow_aspect, other parts of plot_options should also have 
allow_tag options in <external>, for more embedding flexibility.

distribution plots + plot_options
------------------------------------------------
* Option for Log-scale gets repeated: of course I can remove one of them or 
set allow_log to "false".
* Other problem is with xlim. I think this is an issue in R. Try the following 
R code:
    plot (function (x) dbinom (x, size = 12, prob=0.5000), from=0, to=12, 
n=13, type="p",xlim=c (2, 8))
It gives an error with 'xlog' ! In the light of the plot_options, I think it 
will be better to go back to:

x = seq(from=0,to=12,length=13)
y = dbinom(x,size=12,prob=0.5)
plot(x=x,y=y<? getRK ("plotoptions.code.printout"); ?>)


Other comments:
--------------------------
* Sometimes just closing the RKWard window does not ask for the "Save 
Workspace" dialog. It has happend quite a few time recently.




More information about the Rkward-devel mailing list