next up previous contents
Next: Setting graphics for a Up: Setting a structure over Previous: Axes in three dimensions

Scatterplotting in three dimensions

 

tabular2300

To scatter data points, the command datplc computes the places of the data points related to a given axis. It transforms the given data field according to the definitions which were set by the command axis (see Sect. 7.2.7). Several data sets identified by <setname> can be displayed with different colors.

Example (ex7.11): The x-axis is set according to the field "indus". When the parameter "<scaling>" is omitted, the minimum and maximum values of the axis are found from the given field. In other words, the default scaling function is "data". The same procedure is performed for the y-axis.

NDA> load boston.dat
NDA> mkgrp grp1
NDA> axis grp1 -ax x -f boston.indus
NDA> datplc grp1 -n boston -ax x -f boston.indus
NDA> axis grp1 -ax y -f boston.age
NDA> datplc grp1 -n boston -ax y -f boston.age
...

figure2314



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998