Domain and range from the graph of a continuous function