[rkward-cvs] SF.net SVN: rkward: [1969] trunk/rkward/rkward/plugins/plots
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Sep 17 22:56:17 UTC 2007
Revision: 1969
http://rkward.svn.sourceforge.net/rkward/?rev=1969&view=rev
Author: tfry
Date: 2007-09-17 15:56:16 -0700 (Mon, 17 Sep 2007)
Log Message:
-----------
Cosmetics
Modified Paths:
--------------
trunk/rkward/rkward/plugins/plots/piechart.php
trunk/rkward/rkward/plugins/plots/piechart.rkh
Modified: trunk/rkward/rkward/plugins/plots/piechart.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/piechart.php 2007-09-17 22:51:27 UTC (rev 1968)
+++ trunk/rkward/rkward/plugins/plots/piechart.php 2007-09-17 22:56:16 UTC (rev 1969)
@@ -27,7 +27,7 @@
$options = "";
$options .= ", clockwise =" . $clockwise;
- $options .= ", density =" . $density;
+ if ($density >= 0) $options .= ", density =" . $density;
$options .= ", angle =" . $angle;
if ($radius != 0.8) $options .= ", radius=" . $radius;
if ($col == "rainbow") $options .= ", col=rainbow (if(is.matrix(x)) dim(x) else length(x))";
Modified: trunk/rkward/rkward/plugins/plots/piechart.rkh
===================================================================
--- trunk/rkward/rkward/plugins/plots/piechart.rkh 2007-09-17 22:51:27 UTC (rev 1968)
+++ trunk/rkward/rkward/plugins/plots/piechart.rkh 2007-09-17 22:56:16 UTC (rev 1969)
@@ -17,7 +17,7 @@
<setting id="names_mode">Method for assigning labels to the plot. "default" means, the labels are chosen automatically. If no labels are available, this will generally print the values. The other options allow you to specify the labels as literal string, or as an R statement (e.g. if the names are stored in a different variable in the workspace).</setting>
<setting id="radius">Radius of the pie. For long labels it may be necessary to make the pie smaller than the default.</setting>
<setting id="angle">Slope of shading lines, given as an angle in degrees (counter-clockwise).</setting>
- <setting id="density">Density of shading lines (lines per inch). The default value of NULL means no shading lines are drawn. Negative values also inhibit the drawing of shading lines.</setting>
+ <setting id="density">Density of shading lines (lines per inch). The default value of -1 means no shading lines are drawn.</setting>
<setting id="clockwise">Define if slices should be drawn clockwise or counter clockwise.</setting>
<setting id="plotoptions">Generic plot options. See <link href="rkward://component/plot_options"/>.</setting>
</settings>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list