Search
Ploticus >
Prefabs >
Examples using scat prefab |
These examples use the
scat prefab
and are included in the distribution (./pltestsuite/testpf_scat).
Click here for a collection of all prefab examples.
scat examples 1 & 2
Left: pl -prefab scat data=data1 x=2 y=3
Right: pl -prefab scat data=data1 x=2 y=3 id=1 \\
xlbl="Total Ch" ylbl="White Blood Cell Count" corr=yes
data1 file: A/J 1.39 331
BALB/cJ 1.67 182
C3H/HeJ 2.07 301
scat example 3
pl -prefab scat data=data3 x=2 y=6 err=3 xerr=7 corr=yes \\
ptshape=triangle ptsize=0.08 ptcolor=red "errcolor=gray(0.8)"
data3 file:
129S1/SvImJ 0.4927 0.111 0.353 129S1/SvImJ 0.4080 0.0839 0.265
A/J 0.5547 0.0768 0.243 A/J 0.6051 0.0656 0.207
AKR/J 0.4125 0.0631 0.200 AKR/J 0.3653 0.0418 0.132
scat example 4
Two different sets of data points are plotted using two different symbols, and error
bars are also generated.
The sets are selected using ptselect and ptselect2.
pl -prefab scat data=data25 delim=tab x=3 y=4 err=5 ptselect=" = A" xerr=6 \\
x2=3 y2=4 err2=5 ptselect2=" = B" xerr2=6
data25 file:
ABC A 5 4 2.5 2.3
ABC B 4 4.5 1.6 1.8
DEF A 8 9 1.8 1.5
DEF B 3 3 0.9 1.3
GHI A 7.7 6.5 1.2 0.6
GHI B 6.6 6.3 0.8 1.1