Back to demo index

gnuplot demo script: textrotate.dem

autogenerated by webify.pl on Sat Nov 17 13:05:03 2012
gnuplot version gnuplot 4.7 patchlevel 0
#
# $Id: textrotate.dem,v 1.2 2003/10/17 15:02:21 mikulik Exp $
#
# Demonstrate rotation of label text
#
#
set title "Rotation of label text"
#
set xrange [-5:5]
set yrange [-5:5]
set xlabel "xlabel"
set ylabel "ylabel"
#
set label 1 "Default" at -4,4
#
set label 2 "rotate left"   at 0,0 rotate left
set label 3 "rotate right"  at 0.5,0 rotate right
set label 4 "rotate center" at 1.0,0 rotate center
#
set label 12 "rotate by -90 left"   at 2.0,0 rotate by -90 left
set label 13 "rotate by -90 right"  at 2.5,0 rotate by -90 right
set label 14 "rotate by -90 center" at 3.0,0 rotate by -90 center
#
set label 21 "  rotate by 45" at -3.0,0.0 rotate by 45 point ps 2
set label 22 "  rotate by 90" at -3.0,0.0 rotate by 90 point ps 2
set label 23 "  rotate by -30" at -3.0,0.0 rotate by -30 point ps 2
set label 24 "  rotate by -60" at -3.0,0.0 rotate by -60 point ps 2
set label 25 "  rotate by -90" at -3.0,0.0 rotate by -90 point ps 2
#
plot 0
#

Click here for minimal script to generate this plot