plrotate
rotate user coordinate system
parameter | type | units | description |
---|---|---|---|
angle | float | degr | rotation angle |
returns: | void |
Description
plrotate rotates the user coordinate system by angle degrees in counterclockwise direction.Examples
plinit PS plrotate A4 50 50 "" "" plaxes 0 0 10 10 50 50 x y "" plot 5 5 UP plformat 0 0 "0 degrees" plrotate 30 plot 5 5 UP plformat 0 0 "30 degrees" plrotate 30 plot 5 5 UP plformat 0 0 "60 degrees" plrotate 30 plot 5 5 UP plformat 0 0 "90 degrees" plrotate 30 plot 5 5 UP plformat 0 0 "120 degrees" plframe 5 3