Yes it is possible only if the x axis is distance and the y axis is time, providing the object being monitored or graphed never moves and you are utilizing a line graph for the assignment. time will increase (traveling vertically on the y axis or up/down on the graph) and distance will stay at a constant 0 (not traveling horizontally the x axis or left/right on the graph)