> set id /attr1=val1[/attr2=val2...]
, the set command affects
all active queue elements.
The attribute() function retrieves the value of an
attribute.
Different queue elements have different attribute types. This
section lists the GQEs in alphabetic order.
! ! The whole queue is deleted delete *.* ! The x-window is set to 18 x 18 cm**2 set ws view 0 0.18 0 0.18 ! A file is read and displayed. read bpu1 display ! Set the strings for the axis descriptions. delete bpu1.1 set bpu1.3/text="Energy [eV]" set bpu1.4/text=Ioni1 ! Sets the up-vector, the string is rotated. set bpu1.4/ux=-1/uy=0 ! Sets the text position. set bpu1.4/y=0.45/x=-0.12 ! The primitive type is set to open triangles. set bpu1/prim=1/size=2/type=-2 ! Temp is set to a pre-defined viewport. set bpu1/y_max=2.5 read/notext gra_examples:bpu1 temp set temp/v2 ! The big tic mark numbers are suppressed for temp. set temp/x_maj=-attr(temp,x_maj) set temp/y_maj=-attr(temp,y_maj) ! Enable the grid. copy layout temp set temp.layout/grid\_colour=1 ! The axis frame of bpu1 will open at the up-right corner. set layout/plot_box=0 ! Draw a border around the workstation viewport. set layout/border=1 ! Display what has been prepared. display ! Create a postscript output file. The qualifier /portrait rotates ! the whole plot by 90 degree. The postscript file is displayed by ! Ghostview. post/portrait/gs