1# Demo to illustrate the ellipses style 2 3set title "Demonstration of the 'ellipses' plotting style\nTwo-column form: x y (default size)" 4 5plot 'ellipses.dat' u 1:2 with ellipses 6 7pause -1 'Hit <cr> to continue' 8 9set title "Three-column form: x y major_diameter (minor diameter is the same)" noenh 10 11plot 'ellipses.dat' u 1:2:3 with ellipses 12 13pause -1 'Hit <cr> to continue' 14 15set title "Four-column form: x y major_diameter minor_diameter" noenh 16 17plot 'ellipses.dat' u 1:2:3:4 with ellipses 18 19pause -1 'Hit <cr> to continue' 20 21set title "Five-column form: x y major_diameter minor_diameter angle" noenh 22 23plot 'ellipses.dat' u 1:2:3:4:5 with ellipses 24 25pause -1 'Hit <cr> to continue' 26 27set title "Six-column form: 6th column variable color (lc variable)" 28 29plot 'ellipses.dat' u 1:2:3:4:5:6 with ellipses lc var 30 31pause -1 'Hit <cr> to continue' 32 33set title "Six-column form: 6th column variable color (lc palette)" 34 35plot 'ellipses.dat' u 1:2:3:4:5:6 with ellipses lc pal 36 37pause -1 'Hit <cr> to continue' 38 39set title "Six-column form: 6th column variable color (lc rgb variable)" 40 41plot 'ellipses.dat' u 1:2:3:4:5:7 with ellipses lc rgb var 42 43pause -1 'Hit <cr> to continue' 44 45set title "Scaling of axes: units xy" 46set yr [-15:30] 47set xr [-5:15] 48 49plot 'ellipses.dat' u 1:2:3:4:5 with ellipses units xy 50 51pause -1 'Hit <cr> to continue' 52 53set title "Scaling of axes: units xx" 54 55plot 'ellipses.dat' u 1:2:3:4:5 with ellipses units xx 56 57pause -1 'Hit <cr> to continue' 58 59set title "Scaling of axes: units yy" 60 61plot 'ellipses.dat' u 1:2:3:4:5 with ellipses units yy 62 63pause -1 'Hit <cr> to continue' 64 65set title "Now see all three together" 66 67plot 'ellipses.dat' u 1:2:3:4:5 with ellipses units xy title "units xy",\ 68 '' u 1:2:3:4:5 with ellipses units xx title "units xx",\ 69 '' u 1:2:3:4:5 with ellipses units yy title "units yy" 70 71pause -1 'Hit <cr> to continue' 72reset 73