[rkward-cvs] SF.net SVN: rkward: [1445] trunk/rkward/rkward/plugins/plots

nono_231 at users.sourceforge.net nono_231 at users.sourceforge.net
Thu Feb 22 20:48:49 UTC 2007


Revision: 1445
          http://svn.sourceforge.net/rkward/?rev=1445&view=rev
Author:   nono_231
Date:     2007-02-22 12:48:49 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Added plot options in pareto plugin

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/plots/pareto.php
    trunk/rkward/rkward/plugins/plots/pareto.xml

Modified: trunk/rkward/rkward/plugins/plots/pareto.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/pareto.php	2007-02-22 19:51:56 UTC (rev 1444)
+++ trunk/rkward/rkward/plugins/plots/pareto.php	2007-02-22 20:48:49 UTC (rev 1445)
@@ -43,7 +43,7 @@
 try (
 <?
 if ($final && $descriptives) { ?>
-rk.print(xtable(<?}?>pareto.chart(rk.temp.x, main="")<? if ($final && $descriptives) { ?>))
+rk.print(xtable(<?}?>pareto.chart(rk.temp.x <? getRK ("plotoptions.code.printout"); ?>)<? if ($final && $descriptives){ ?>))
 <?}
 ?>
 )

Modified: trunk/rkward/rkward/plugins/plots/pareto.xml
===================================================================
--- trunk/rkward/rkward/plugins/plots/pareto.xml	2007-02-22 19:51:56 UTC (rev 1444)
+++ trunk/rkward/rkward/plugins/plots/pareto.xml	2007-02-22 20:48:49 UTC (rev 1445)
@@ -2,6 +2,13 @@
 <document>
 	<code file="pareto.php" />
 	<help file="pareto.rkh" />
+	<logic>
+		<connect client="plotoptions.default_main" governor="x" />
+		<set id="plotoptions.allow_type" to="false"/>
+		<set id="plotoptions.allow_xlim" to="false"/>
+		<set id="plotoptions.allow_ylim" to="false"/>
+		<set id="plotoptions.allow_log" to="false"/>
+	</logic>
 	<dialog label="Pareto chart" >		
 		<tabbook>
 			<tab label="Variables" id="tab_variables">
@@ -13,8 +20,13 @@
 					<preview id="preview"/>
 					</column>
 				</row>
-			</tab>	
-		</tabbook>			
+			</tab>
+			<tab label="Plot Options" >
+				<row>
+					<embed id="plotoptions" component="rkward::plot_options" as_button="false" label="Plot Options" />
+					<stretch/>
+				</row>
+			</tab>
+		</tabbook>
 	</dialog>
-
 </document>


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