[rkward-cvs] rkward/rkward/plugins/plots box_plot.php,1.3,1.4

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Apr 6 12:14:08 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/plugins/plots
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14082/plugins/plots

Modified Files:
	box_plot.php 
Log Message:
rk.get.description now works on undetermined (...) parameters

Index: box_plot.php
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugins/plots/box_plot.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** box_plot.php	5 Apr 2006 19:34:02 -0000	1.3
--- box_plot.php	6 Apr 2006 12:14:05 -0000	1.4
***************
*** 8,17 ****
  	function printout () {
  	$xvarsstring = join (", ", split ("\n", getRK_val ("x")));
- 	$xvars = "list (" . $xvarsstring . ")";
- 	$xvarsstring = str_replace (array ("\\", "\""), array ("\\\\", "\\\""), $xvarsstring);
  ?>
! rk.header ("Boxplot", list ("Variable(s)", "<?echo ($xvarsstring); ?>"))
  rk.graph.on()
! boxplot (<? echo ($xvars); ?>, notch = <? getRK ("notch") ?>, outline = <? getRK("outline")?>, horizontal = <? getRK("orientation") ?><? getRK ("plotoptions.code.printout"); ?>)
  rk.graph.off ()
  <?
--- 8,15 ----
  	function printout () {
  	$xvarsstring = join (", ", split ("\n", getRK_val ("x")));
  ?>
! rk.header ("Boxplot", list ("Variable(s)", rk.get.description (<?echo ($xvarsstring); ?>, paste.sep=", ")))
  rk.graph.on()
! boxplot (list (<? echo ($xvarsstring); ?>), notch = <? getRK ("notch") ?>, outline = <? getRK("outline")?>, horizontal = <? getRK("orientation") ?><? getRK ("plotoptions.code.printout"); ?>)
  rk.graph.off ()
  <?





More information about the rkward-tracker mailing list