~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/plugins/plots/box_plot.xml

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-05-11 21:58:23 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090511215823-m2f3gehcvapwrzgp
Tags: 0.5.0d-0ubuntu1
* New upstream release (LP: #375213)
* Bump Standards-Version to 3.8.1
* Drop cmake, libphon-dev from build-deps
* Update maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE rkplugin>
2
 
<document>
3
 
<code file="box_plot.php" />
4
 
<logic>
5
 
        <connect client="plotoptions.xvar" governor="x.available"/>
6
 
        <set id="plotoptions.allow_type" to="false"/>
7
 
</logic>
8
 
<dialog label="Boxplot" >
 
2
        <document>
 
3
        <code file="box_plot.php" />
 
4
        <logic>
 
5
                <connect client="plotoptions.xvar" governor="x.available"/>
 
6
                <set id="plotoptions.allow_type" to="true"/>
 
7
                <set id="plotoptions.allow_ylim" to="true"/>
 
8
                <set id="plotoptions.allow_xlim" to="false"/>
 
9
                <set id="plotoptions.allow_log" to="false"/>    
 
10
                
 
11
                <convert id="custom_names" mode="equals" sources="names_mode.string" standard="custom"/>
 
12
                <convert id="rexp_names" mode="equals" sources="names_mode.string" standard="rexp"/>
 
13
                <connect client="names_custom.visible" governor="rexp_names.not"/>
 
14
                <connect client="names_custom.enabled" governor="custom_names"/>
 
15
                <connect client="names_exp.visible" governor="rexp_names"/>
 
16
                <connect client="names_exp.required" governor="rexp_names"/>
 
17
 
 
18
                <set id="plotoptions.allow_grid" to="true"/>
 
19
                
 
20
        </logic>
 
21
        <dialog label="Boxplot" >
9
22
        <tabbook>
10
 
        <tab label="Variable(s)" >
11
 
                <row>
12
 
                        <varselector id="vars" />
13
 
                        <varslot multi="true" type="numeric" source="vars" id="x" label="variable(s):" required="true" />
14
 
                </row>
15
 
                <preview id="preview"/>
16
 
        </tab>
17
 
        <tab label="Options" >
18
 
                <row>
19
 
                        <column>
20
 
                                <radio id="orientation" label="orientation" >
21
 
                                        <option value="TRUE" label="horizontal" />
22
 
                                        <option checked="true" value="FALSE" label="vertical" />
23
 
                                </radio>
24
 
                                <checkbox id="notch" label="Draw Notches" checked="false" value="TRUE" value_unchecked="FALSE" />
25
 
                                <checkbox id="outline" label="Outline" checked="true" value="TRUE" value_unchecked="FALSE" />
26
 
                                
27
 
                                <stretch/>
28
 
                                <embed id="plotoptions" component="rkward::plot_options" as_button="true" label="Plot Options" />
29
 
                                <stretch/>
30
 
                        </column>
31
 
                </row>
32
 
        </tab>
 
23
                <tab label="Variable(s)" >
 
24
                        <row>
 
25
                                <varselector id="vars" />
 
26
                                <varslot multi="true" type="numeric" source="vars" id="x" label="variable(s):" required="true" />
 
27
                                <stretch/>
 
28
                                <frame label="Labels">
 
29
                                        <radio id="names_mode" label="Labeling" >
 
30
                                                <option value="default" label="Default labels" checked="true"/>
 
31
                                                <option value="custom" label="Custom labels"/>
 
32
                                                <option value="rexp" label="From R expression"/>
 
33
                                        </radio>
 
34
                                        <input id="names_exp" label="Expression to use for labels" initial="names (x)"/>
 
35
                                        <input id="names_custom" label="Labels (separated by ';')" initial="First label;Second label"/>
 
36
                                </frame>
 
37
                        </row>
 
38
                        <preview id="preview"/>
 
39
                </tab>
 
40
                <tab label="Options" >
 
41
                        <row>
 
42
                                <column>
 
43
                                        <radio id="orientation" label="orientation" >
 
44
                                                <option value="TRUE" label="horizontal" />
 
45
                                                <option checked="true" value="FALSE" label="vertical" />
 
46
                                        </radio>
 
47
                                        <checkbox id="notch" label="Draw Notches" checked="false" value="TRUE" value_unchecked="FALSE" />
 
48
                                        <checkbox id="outline" label="Outline" checked="true" value="TRUE" value_unchecked="FALSE" />
 
49
                                        <stretch/>
 
50
                                </column>
 
51
                                <column>
 
52
                                        <row>
 
53
                                                <checkbox id="mean" checked="false" value="TRUE" label="show mean" />
 
54
                                                <spinbox type="integer" id="pch_mean" label="mean symbol" initial="15"/>
 
55
                                        </row>
 
56
                                        <row>
 
57
                                                <column>
 
58
                                                        <checkbox id="sd" checked="false" value="TRUE" label="show standard deviation" />
 
59
                                                </column>
 
60
                                                <column>
 
61
                                                        <spinbox type="integer" id="pch_sd_high" label="standard deviation symbol (upper)" initial="3"/>
 
62
                                                        <spinbox type="integer" id="pch_sd_low" label="standard deviation symbol (lower)" initial="3"/>
 
63
                                                </column>
 
64
                                        </row>
 
65
                                        <spinbox type="real" id="cex_sd_mean" label="size" initial="1"/>
 
66
                                        <embed id="sd_mean_color" component="rkward::color_chooser" label="Color"/>
 
67
                                        <embed id="plotoptions" component="rkward::plot_options" as_button="true" label="Plot Options" />
 
68
                                        <stretch/>
 
69
                                </column>
 
70
                        </row>
 
71
                </tab>
33
72
        </tabbook>
34
73
</dialog>
35
 
</document>
 
74
</document>
 
 
b'\\ No newline at end of file'