Gri Commands
1: Introduction 2: Simple example 3: Fancy example 4: Running Gri 5: Programming Gri 6: General Issues 7: X-Y Plots 8: Contour Plots 9: Image Plots 10: Examples 11: Handling Data 12: Gri Commands 13: Gri Extras 14: Evolution of Gri 15: Installing Gri 16: Gri Bugs 17: System Tools 18: Acknowledgments 19: License 20: Newsgroup 21: Concept Index |
12.28: The `
|
`postscript \string' |
\a = "45" # angle \w = "8.5" # page width postscript gsave \w 72 mul 0 translate \a rotate # ... other code to do stuff postscript grestore |
\X = "3" # cm \Y = "10" # cm \a = "90" # degrees counterclockwise postscript gsave \X 28.35 mul \Y 28.35 mul translate \a rotate # Palette is at user's origin draw image palette box 0 0 10 1 postscript grestore |
postscript
' command is very dangerous, and should
normally only be used by developers. Most of the code concerning this
is in the file `doline.cc'; look for the string
`postscriptCmd
' to find the relevant code.