Search


Ploticus > Prefabs >
Examples using the stack prefab


These examples use the stack prefab. They are included in the distribution (./pltestsuite/testpf_stack) Click here for a collection of all prefab examples.




stack example 1 - bars

   pl -prefab stack data=data10 x=1 y=2 y2=4 y3=6 y4=8 xlbl=Months \\
    name="Group A" name2="Group B" name3="Group C" name4="Group D"

   data10 file:
	0	100	2	100	4	100	3	100	4
	1.5	92	4	94	7	87	6	86	5
	3	89	4	92	8	78	6	74	4





stack example 2 - a stacked area plot

   pl -prefab stack data=data5 delim=tab x=1 y=2 y2=3 y3=4 y4=5  \\
        stackarea=yes echodata=yes stubvert=yes \\
	name=eastern name2=central name3=mountain name4=pacific

   data5 file looks like this:
     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	19	84	14
     Test 9	83	12	64	9
     Test 10	95	11	92	13
     Test 11	42	8	76	11
     Test 12	69	13	68	6


 


Ploticus 2.42 ... May 2013 Terms of use /