Rev 7885 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4729 | bpr | 1 | type=image |
2 | textarea="data" |
||
3 | |||
4 | :$name_description |
||
5 | :%%%%%%%% |
||
6 | :\title{$name_title} |
||
7 | :\author{$wims_firstname,$wims_lastname} |
||
8 | :\email{$wims_email} |
||
5726 | bpr | 9 | :\credits{} |
4729 | bpr | 10 | :$name_instruction |
11 | \text{instruction=$name_instruction21} |
||
12 | :$name_image |
||
13 | \text{image=$wims_deposit} |
||
14 | |||
15 | :$name_data |
||
16 | $name_help_data |
||
17 | \matrix{data=$data} |
||
18 | |||
19 | :%%%%%%%%%%%%%%%%%%%%%%%% |
||
20 | \text{cache=\image} |
||
21 | \text{size= \data[1;]} |
||
22 | \text{rubrique=wims(column 1 of \data[2..-1;])} |
||
23 | \text{rubrique=wims(listuniq \rubrique)} |
||
24 | \text{rubrique=randitem(\rubrique)} |
||
25 | \matrix{coord = wims(select \data where column 1 = \rubrique)} |
||
26 | \matrix{coord = \coord[;2,3]} |
||
27 | \text{zone=wims(replace internal ; by , in \coord)} |
||
28 | |||
29 | \text{dessin=\imagedir/\image} |
||
30 | \text{cache=draw(\size[1],\size[2] |
||
31 | copy 0,0,-1,-1,-1,-1,\cache)} |
||
32 | \text{cache = slib(oef/insfilename)} |
||
33 | |||
34 | \statement{ |
||
35 | \instruction \rubrique. |
||
5726 | bpr | 36 | <div class="wimscenter"> |
4729 | bpr | 37 | \embed{r1,\size[1] x \size[2]} |
5726 | bpr | 38 | </div> |
4729 | bpr | 39 | } |
7953 | bpr | 40 | \answer{}{\imagedir/\image;bound,\cache,\zone}{type=jsxgraphcurve}{option= precision=12 color1=blue color2=green} |