next up previous contents
Next: Saving the settings of Up: Graphics Previous: Displaying graphics

Getting the settings of the graphic structure

 

tabular2727

The command is purposed to return the settings of the graphic structure as commands. If the parameter <command> has been omitted, then the whole state is returned.

tabular2734

The flags "src" and "scales" do not return data as commands but as follows.

tabular2740

Example (ex7.31): Run first the example `ex7.31'. Then apply the command getg.

...
NDA> mkgrp grp1 -s s1
...
NDA> getg grp1 bar
bar grp1 -inx 0 -f sta.crim_avg -co red -sca data 
bar grp1 -inx 1 -f sta.zn_avg -co green -sca abs  -min 10.000000 -max 100.000000
NDA> getg grp1 axis
axis grp1 -ax x -f som_x -sca abs  -min 0.000000 -max 1.000000 -step 3 
axis grp1 -ax y -f som_y -sca abs  -min 0.000000 -max 1.000000 -step 3 
axis grp1 -ax z -f som_z -sca abs  -min 0.000000 -max 1.000000 -step 3 
NDA> getg grp1 scales bar
sta.crim_avg
0.000000
66.142067
sta.zn_avg
10.000000
100.000000



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