Spielwiese: Unterschied zwischen den Versionen

Aus Scout-o-wiki
Wechseln zu:Navigation, Suche
Zeile 24: Zeile 24:
 
== Daniel TimeLine Test ==
 
== Daniel TimeLine Test ==
 
<timeline>
 
<timeline>
#proc getdata
+
# All measures are in pixels
fieldnameheader: yes
 
data:
 
name x len y dir
 
Test_3  76      19      84      14
 
Test_4  83      12      64      9
 
Test_5  95      11      92      13
 
Test_6  42      8      76      11
 
Test_7  69      13      68      6
 
Test_8  76      2      22      14
 
Test_9  83      15      12      9
 
Test_10 -10    15      -10    9
 
Test_11 -12    18      -10    3
 
  
#proc areadef
+
ImageSize  = width:160 height:550
rectangle: 1 1 4 4
+
PlotArea  = left:50 right:0 bottom:10 top:10
xrange: 0 120
+
AlignBars  = justify
yrange: 0 120
 
frame: yes
 
  
// do vectors..
+
DateFormat = yyyy
#proc vector
+
Period    = from:1919 till:1991
xfield: x
+
TimeAxis  = orientation:vertical
yfield: y
+
ScaleMajor = unit:year increment:5 start:1920
linedetails: width=1 color=blue
 
arrowheadcolor: blue
 
lenunits: user
 
dirfield: dir
 
lenfield: len
 
lenscale: 3
 
dirrange: 20
 
// clip: no
 
  
// do red dots..
+
# there is no automatic collision detection,
#proc scatterplot
+
# so shift texts up or down manually to avoid overlap
xfield: x
 
yfield: y
 
symbol: shape=circle fillcolor=red
 
  
// do labels..
+
Define $dx = 25 # shift text to right side of bar
#proc scatterplot
+
 
xfield: x
+
PlotData=
yfield: y
+
  bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S
labelfield: name
+
 
textdetails: align=L adjust=0.1,0 size=6
+
  from:start till:1922 shift:($dx,15)  text:Vladimir~Ilyich~[[Lenin]]
 +
  from:1922  till:1953 shift:($dx,5)    text:[[Stalin|Josef~Stalin]]
 +
  from:1953  till:1964 shift:($dx,5)    text:Nikita~[[Khrushchev]]
 +
  from:1964  till:1982 shift:($dx,5)    text:Leonid~[[Brezhnev]]
 +
  from:1982  till:1984 shift:($dx,-12)  text:Yuri~[[Andropov]]
 +
  from:1984  till:1985 shift:($dx,4)    text:Konstantin~[[Chernenko]] fontsize:XS
 +
  from:1985  till:end  shift:($dx,10)  text:Mikhail~[[Gorbachev]]
 
</timeline>
 
</timeline>
 +
Tut noch nicht .. :(

Version vom 23. April 2006, 22:00 Uhr

Testtest

Nur, damit was drinsteht ;) Ich will auch mal etwas testen, oder einen test machen. Darf ich? Jeder darf testen!

nochmal!

Kai´s Test

15:25 Ich glaub ich habs verstanden!

Jetzt teste ich noch ein Bisschen mehr.

17:21 Jetzt kann ich auch meine Änderungen rückgängig machen.

18:06 test Duck Donald Duck (Wikipedia-Artikel)

Flo

Flo 14:27, 10. Feb 2006 (CET)

Daniel TimeLine Test

<timeline>

  1. All measures are in pixels

ImageSize = width:160 height:550 PlotArea = left:50 right:0 bottom:10 top:10 AlignBars = justify

DateFormat = yyyy Period = from:1919 till:1991 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:5 start:1920

  1. there is no automatic collision detection,
  2. so shift texts up or down manually to avoid overlap

Define $dx = 25 # shift text to right side of bar

PlotData=

 bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S
 from:start till:1922 shift:($dx,15)   text:Vladimir~Ilyich~Lenin
 from:1922  till:1953 shift:($dx,5)    text:Josef~Stalin
 from:1953  till:1964 shift:($dx,5)    text:Nikita~Khrushchev
 from:1964  till:1982 shift:($dx,5)    text:Leonid~Brezhnev
 from:1982  till:1984 shift:($dx,-12)  text:Yuri~Andropov
 from:1984  till:1985 shift:($dx,4)    text:Konstantin~Chernenko fontsize:XS
 from:1985  till:end  shift:($dx,10)   text:Mikhail~Gorbachev

</timeline> Tut noch nicht .. :(