Back to demo index

gnuplot demo script: rugplot.dem

autogenerated by webify.pl on Sun Sep 17 19:55:20 2023
gnuplot version gnuplot 6.0 patchlevel rc2
#
# Demo of a Rug Plot
# The X and Y coordinates of each point are marked by a mark
# on the corresponding axis.
#
load "gen-random.inc"

unset key
set bmargin at screen .2; 
set rmargin at screen .8; set lmargin at screen .2;
set offset .08, .08, .08, .08
set border lw 0.5

set title "Rug Plot" font ",24" offset 0,.5

set xtics out scale 3
set ytics out scale 3
plot $random every 15 using 1:2:xtic(""):ytic("") with points ps .5


Click here for minimal script to generate this plot