# 3.10 The `replot` command

The `replot` command may be used to add more datasets to an existing plot, or to change its axis ranges. For example, having plotted one data file using the command

    plot 'datafile1.dat'

another can be plotted on the same axes using the command

    replot 'datafile2.dat' using 1:3

or the ranges of the axes on the original plot can be changed using the command

    replot [0:1][0:1]